diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 15:58:27 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-12 15:59:55 -0400 |
commit | c0a19ebc018222ffd1dd93af5b53d9efd779c19b (patch) | |
tree | f648fb93efb064b22000aca24e48dfda2cbfab0a /kernel | |
parent | 2ee39065988d632b403f8470942b0b5edee3632b (diff) |
genirq: Fix CONFIG_GENIRQ_NO_DEPRECATED=y build
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/dummychip.c | 2 | ||||
-rw-r--r-- | kernel/irq/irqdesc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c index 918dea9de9ea..20dc5474947e 100644 --- a/kernel/irq/dummychip.c +++ b/kernel/irq/dummychip.c | |||
@@ -31,7 +31,7 @@ static unsigned int noop_ret(struct irq_data *data) | |||
31 | return 0; | 31 | return 0; |
32 | } | 32 | } |
33 | 33 | ||
34 | #ifndef CONFIG_GENERIC_HARDIRQS_NO_CRUFT | 34 | #ifndef CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED |
35 | static void compat_noop(unsigned int irq) { } | 35 | static void compat_noop(unsigned int irq) { } |
36 | #define END_INIT .end = compat_noop | 36 | #define END_INIT .end = compat_noop |
37 | #else | 37 | #else |
diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index f6f660cef7af..9d917ff72675 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c | |||
@@ -118,7 +118,7 @@ static void free_masks(struct irq_desc *desc) | |||
118 | #ifdef CONFIG_GENERIC_PENDING_IRQ | 118 | #ifdef CONFIG_GENERIC_PENDING_IRQ |
119 | free_cpumask_var(desc->pending_mask); | 119 | free_cpumask_var(desc->pending_mask); |
120 | #endif | 120 | #endif |
121 | free_cpumask_var(desc->affinity); | 121 | free_cpumask_var(desc->irq_data.affinity); |
122 | } | 122 | } |
123 | #else | 123 | #else |
124 | static inline void free_masks(struct irq_desc *desc) { } | 124 | static inline void free_masks(struct irq_desc *desc) { } |