[ARM] give RiscPC a NR_IRQS definition and remove default
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 29 Nov 2008 19:14:31 +0000 (19:14 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Nov 2008 19:14:31 +0000 (19:14 +0000)
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>
arch/arm/include/asm/irq.h
arch/arm/mach-rpc/include/mach/irqs.h

index a0009aa5d157686f151bbc726ae59da1ddafd4e0..328f14a8b79034a3d71e713780a0d8caed9279d6 100644 (file)
@@ -7,10 +7,6 @@
 #define irq_canonicalize(i)    (i)
 #endif
 
-#ifndef NR_IRQS
-#define NR_IRQS        128
-#endif
-
 /*
  * Use this value to indicate lack of interrupt
  * capability
index 4ce6ca97f66966dd530661bc697cb21c84895db5..3d2037496e38cd4955f29ecb9ca1f09e715e7608 100644 (file)
@@ -44,3 +44,4 @@
 
 #define IRQ_TIMER              IRQ_TIMER0
 
+#define NR_IRQS                        128