MIPS: Fix compile for !CONFIG_SMP
authorAlexander Clouter <alex@digriz.org.uk>
Sun, 5 Jul 2009 11:00:55 +0000 (12:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:40 +0000 (17:52 +0100)
Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks compiling MIPS
with SMP disabled.  This patch fixes that.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/gic.h

index 10292e3..a8f5734 100644 (file)
@@ -20,7 +20,7 @@
 #define GIC_TRIG_EDGE                  1
 #define GIC_TRIG_LEVEL                 0
 
-#if CONFIG_SMP
+#ifdef CONFIG_SMP
 #define GIC_NUM_INTRS                  (24 + NR_CPUS * 2)
 #else
 #define GIC_NUM_INTRS                  32