genirq: Fix CONFIG_GENIRQ_NO_DEPRECATED=y build
authorThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 19:58:27 +0000 (21:58 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 19:59:55 +0000 (21:59 +0200)
This option can be set to verify the full conversion to the new chip
functions. Fix the fallout of the patch rework, so the core code
compiles and works with it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/dummychip.c
kernel/irq/irqdesc.c

index 918dea9de9eab863b2cbf113898a500cceb2429a..20dc5474947e5fafbefe4cd2eb5f3ac241403711 100644 (file)
@@ -31,7 +31,7 @@ static unsigned int noop_ret(struct irq_data *data)
        return 0;
 }
 
-#ifndef CONFIG_GENERIC_HARDIRQS_NO_CRUFT
+#ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED
 static void compat_noop(unsigned int irq) { }
 #define END_INIT .end = compat_noop
 #else
index f6f660cef7afbb381c960f5286a44efce79ace1f..9d917ff726759a931443e3b03693a558cc65b377 100644 (file)
@@ -118,7 +118,7 @@ static void free_masks(struct irq_desc *desc)
 #ifdef CONFIG_GENERIC_PENDING_IRQ
        free_cpumask_var(desc->pending_mask);
 #endif
-       free_cpumask_var(desc->affinity);
+       free_cpumask_var(desc->irq_data.affinity);
 }
 #else
 static inline void free_masks(struct irq_desc *desc) { }