linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel: fix MIPS compile for !CONFIG_SMP
@ 2009-07-05 11:00 Alexander Clouter
  2009-07-07  0:08 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Clouter @ 2009-07-05 11:00 UTC (permalink / raw)
  To: linux-mips, linux-mips; +Cc: tanderson

Commit fc03bc1715ca0ad4ccfe97aab16bcc9e7129c1a4 breaks compiling MIPS
with SMP disabled.  This patch fixes that.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
---
 arch/mips/include/asm/gic.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h
index 10292e3..a8f5734 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
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-05 11:00 [PATCH] kernel: fix MIPS compile for !CONFIG_SMP Alexander Clouter
2009-07-07  0:08 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).