mn10300: Cleanup irq_desc access

The migration needs only access to irq_data.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

+5 -6
+5 -6
arch/mn10300/kernel/irq.c
··· 403 403 #ifdef CONFIG_HOTPLUG_CPU 404 404 void migrate_irqs(void) 405 405 { 406 - irq_desc_t *desc; 407 406 int irq; 408 407 unsigned int self, new; 409 408 unsigned long flags; 410 409 411 410 self = smp_processor_id(); 412 411 for (irq = 0; irq < NR_IRQS; irq++) { 413 - desc = irq_desc + irq; 412 + struct irq_data *data = irq_get_irq_data(irq); 414 413 415 - if (desc->status == IRQ_PER_CPU) 414 + if (irqd_is_per_cpu(data)) 416 415 continue; 417 416 418 - if (cpu_isset(self, irq_desc[irq].affinity) && 417 + if (cpu_isset(self, data->affinity) && 419 418 !cpus_intersects(irq_affinity[irq], cpu_online_map)) { 420 419 int cpu_id; 421 420 cpu_id = first_cpu(cpu_online_map); 422 - cpu_set(cpu_id, irq_desc[irq].affinity); 421 + cpu_set(cpu_id, data->affinity); 423 422 } 424 423 /* We need to operate irq_affinity_online atomically. */ 425 424 arch_local_cli_save(flags); ··· 429 430 GxICR(irq) = x & GxICR_LEVEL; 430 431 tmp = GxICR(irq); 431 432 432 - new = any_online_cpu(irq_desc[irq].affinity); 433 + new = any_online_cpu(data->affinity); 433 434 irq_affinity_online[irq] = new; 434 435 435 436 CROSS_GxICR(irq, new) =