summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAlexander Clouter <alex@digriz.org.uk>2009-07-05 12:00:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-08-03 17:52:40 +0100
commit7d35cdc07dd26eb6667f66f8e2f43f833a926ecf (patch)
treecb6c9625ce2976628a5229522b1a169c71a573a4 /arch/mips
parenta887b4dada2f23b2ff2aa725e0509c92dc652597 (diff)
downloadlinux-7d35cdc07dd26eb6667f66f8e2f43f833a926ecf.tar.bz2
MIPS: Fix compile for !CONFIG_SMP
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/gic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h
index 10292e37c1f7..a8f57341f123 100644
--- a/arch/mips/include/asm/gic.h
+++ b/arch/mips/include/asm/gic.h
@@ -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