diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-12 11:26:39 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-12 12:28:50 +0100 |
commit | 0ebb26e7a4e2c5337502e98b2221e037fda911b9 (patch) | |
tree | c761f4ed74cf412bd2f9de7a091280797548c5b1 /include/linux/interrupt.h | |
parent | 8a4830f8891be6b4e04809693a24771a4694e0b0 (diff) | |
download | kernel_samsung_espresso10-0ebb26e7a4e2c5337502e98b2221e037fda911b9.zip kernel_samsung_espresso10-0ebb26e7a4e2c5337502e98b2221e037fda911b9.tar.gz kernel_samsung_espresso10-0ebb26e7a4e2c5337502e98b2221e037fda911b9.tar.bz2 |
sparse irqs: handle !GENIRQ platforms
Impact: build fix
fix:
In file included from /home/mingo/tip/arch/m68k/amiga/amiints.c:39:
/home/mingo/tip/include/linux/interrupt.h:21: error: expected identifier or '('
/home/mingo/tip/arch/m68k/amiga/amiints.c: In function 'amiga_init_IRQ':
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 79e915e..777f89e 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -14,12 +14,12 @@ #include <linux/irqflags.h> #include <linux/smp.h> #include <linux/percpu.h> +#include <linux/irqnr.h> + #include <asm/atomic.h> #include <asm/ptrace.h> #include <asm/system.h> -extern int nr_irqs; - /* * These correspond to the IORESOURCE_IRQ_* defines in * linux/ioport.h to select the interrupt line behaviour. When |