diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-08-18 08:47:16 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-08 16:35:52 -0500 |
commit | a03010ed9b399fdbc28ac8836e0a6d4b15403f9f (patch) | |
tree | ea82d48efa6e8af9d8f759c77e004da29dd5c558 /arch/m68k/q40 | |
parent | dda7535912255015ecf7264c1d6691a09f8ba487 (diff) |
m68k/q40: Convert Q40/Q60 to genirq
q40_irq_handler() must be kept to translate ISA IRQs to the range 1-15.
q40_probe_irq_o{ff,n}() become unused.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Richard Zidlicky <rz@linux-m68k.org>
Diffstat (limited to 'arch/m68k/q40')
-rw-r--r-- | arch/m68k/q40/q40ints.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c index afe600c03659..f1e5288f043f 100644 --- a/arch/m68k/q40/q40ints.c +++ b/arch/m68k/q40/q40ints.c | |||
@@ -15,10 +15,14 @@ | |||
15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
18 | #ifdef CONFIG_GENERIC_HARDIRQS | ||
19 | #include <linux/irq.h> | ||
20 | #else | ||
21 | #include <asm/irq.h> | ||
22 | #endif | ||
18 | 23 | ||
19 | #include <asm/ptrace.h> | 24 | #include <asm/ptrace.h> |
20 | #include <asm/system.h> | 25 | #include <asm/system.h> |
21 | #include <asm/irq.h> | ||
22 | #include <asm/traps.h> | 26 | #include <asm/traps.h> |
23 | 27 | ||
24 | #include <asm/q40_master.h> | 28 | #include <asm/q40_master.h> |
@@ -326,6 +330,7 @@ void q40_irq_disable(struct irq_data *data) | |||
326 | } | 330 | } |
327 | } | 331 | } |
328 | 332 | ||
333 | #ifndef CONFIG_GENERIC_HARDIRQS | ||
329 | unsigned long q40_probe_irq_on(void) | 334 | unsigned long q40_probe_irq_on(void) |
330 | { | 335 | { |
331 | printk("irq probing not working - reconfigure the driver to avoid this\n"); | 336 | printk("irq probing not working - reconfigure the driver to avoid this\n"); |
@@ -335,3 +340,4 @@ int q40_probe_irq_off(unsigned long irqs) | |||
335 | { | 340 | { |
336 | return -1; | 341 | return -1; |
337 | } | 342 | } |
343 | #endif | ||