Explorar o código

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>
Alexander Clouter %!s(int64=16) %!d(string=hai) anos
pai
achega
7d35cdc07d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/mips/include/asm/gic.h

+ 1 - 1
arch/mips/include/asm/gic.h

@@ -20,7 +20,7 @@
 #define GIC_TRIG_EDGE			1
 #define GIC_TRIG_EDGE			1
 #define GIC_TRIG_LEVEL			0
 #define GIC_TRIG_LEVEL			0
 
 
-#if CONFIG_SMP
+#ifdef CONFIG_SMP
 #define GIC_NUM_INTRS			(24 + NR_CPUS * 2)
 #define GIC_NUM_INTRS			(24 + NR_CPUS * 2)
 #else
 #else
 #define GIC_NUM_INTRS			32
 #define GIC_NUM_INTRS			32