MN10300: Select GENERIC_HARDIRQS_NO_DEPRECATED
authorThomas Gleixner <tglx@linutronix.de>
Fri, 18 Mar 2011 16:52:53 +0000 (16:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2011 16:52:53 +0000 (16:52 +0000)
All chips converted.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/Kconfig
arch/mn10300/kernel/cevt-mn10300.c
arch/mn10300/kernel/irq.c

index e207701c259051d562138a4275580e2b0e9ae72f..10971be4306156a5eddc22746246c7a80dd83ea7 100644 (file)
@@ -2,6 +2,7 @@ config MN10300
        def_bool y
        select HAVE_OPROFILE
        select HAVE_GENERIC_HARDIRQS
+       select GENERIC_HARDIRQS_NO_DEPRECATED
 
 config AM33_2
        def_bool n
index 9eb387adea7cc3d69f99fb968be83036a6a5262b..69cae0260786207d0c3b62fde6255f6b2f442995 100644 (file)
@@ -111,9 +111,9 @@ int __init init_clockevents(void)
 #if defined(CONFIG_SMP) && !defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
        /* setup timer irq affinity so it only runs on this cpu */
        {
-               struct irq_desc *desc;
-               desc = irq_to_desc(cd->irq);
-               cpumask_copy(desc->affinity, cpumask_of(cpu));
+               struct irq_data *data;
+               data = irq_get_irq_data(cd->irq);
+               cpumask_copy(data->affinity, cpumask_of(cpu));
                iact->flags |= IRQF_NOBALANCING;
        }
 #endif
index cd36a6c62770a0e08f197e22d8b116b0f5b0f49e..f09fed5e6afc21a1f1349cafef258e6cdebed57c 100644 (file)
@@ -363,12 +363,12 @@ int show_interrupts(struct seq_file *p, void *v)
 
                        if (i < NR_CPU_IRQS)
                                seq_printf(p, " %14s.%u",
-                                          irq_desc[i].chip->name,
+                                          irq_desc[i].irq_data.chip->name,
                                           (GxICR(i) & GxICR_LEVEL) >>
                                           GxICR_LEVEL_SHIFT);
                        else
                                seq_printf(p, " %14s",
-                                          irq_desc[i].chip->name);
+                                          irq_desc[i].irq_data.chip->name);
 
                        seq_printf(p, "  %s", action->name);