Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] give RiscPC a NR_IRQS definition and remove default

RiscPC is the only platform using the default setting for NR_IRQS,
so the default NR_IRQS doesn't really make sense; remove it and
make RiscPC provide such a definition.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Russell King and committed by
Russell King
7577fdfa 87c52578

+1 -4
-4
arch/arm/include/asm/irq.h
··· 7 7 #define irq_canonicalize(i) (i) 8 8 #endif 9 9 10 - #ifndef NR_IRQS 11 - #define NR_IRQS 128 12 - #endif 13 - 14 10 /* 15 11 * Use this value to indicate lack of interrupt 16 12 * capability
+1
arch/arm/mach-rpc/include/mach/irqs.h
··· 44 44 45 45 #define IRQ_TIMER IRQ_TIMER0 46 46 47 + #define NR_IRQS 128