Skip to contentSkip to conversation

kernel: fix MIPS compile for !CONFIG_SMP

PATCH Applied Alexander Clouter 2 participants 2 messages Jul 5, 2009 – Jul 7, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: fix MIPS compile for !CONFIG_SMP

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

---
 arch/mips/include/asm/gic.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/include/asm/gic.h +1 -1
index 10292e3..a8f5734 100644
@@ -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
Signature · 1 line
1.6.3.3
Applied
#1 lore raw

On Sun, Jul 05, 2009 at 12:00:55PM +0100, Alexander Clouter wrote:

Thanks, applied.

Ralf