summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Clouter <alex@digriz.org.uk>2009-07-05 13:00:55 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-08-03 18:52:40 +0200
commit7d35cdc07dd26eb6667f66f8e2f43f833a926ecf (patch)
treecb6c9625ce2976628a5229522b1a169c71a573a4 /arch
parentMIPS: Drop mmap_sem in pagefault oom path (diff)
downloadlinux-7d35cdc07dd26eb6667f66f8e2f43f833a926ecf.tar.xz
linux-7d35cdc07dd26eb6667f66f8e2f43f833a926ecf.zip
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')
-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