/* Migrate IRQ data structures (irq_desc, chip_data, etc.) over to the new "home node" of the IRQ.  */
static void init_copy_kstat_irqs(struct irq_desc *old_desc, struct irq_desc *desc, int node, int nr)
/* Migrate IRQ data structures (irq_desc, chip_data, etc.) over to the new "home node" of the IRQ.  */
static void init_copy_kstat_irqs(struct irq_desc *old_desc, struct irq_desc *desc, int node, int nr)
{
	init_kstat_irqs(desc, node, nr);
	if (desc->kstat_irqs != old_desc->kstat_irqs)
		memcpy(desc->kstat_irqs, old_desc->kstat_irqs,
			 nr * sizeof(*desc->kstat_irqs));
}