summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-mips/smp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-mips/smp.h b/include/asm-mips/smp.h
index 831dccafd..1bfcf41e0 100644
--- a/include/asm-mips/smp.h
+++ b/include/asm-mips/smp.h
@@ -2,12 +2,13 @@
#define __ASM_MIPS_SMP_H
#include <linux/config.h>
+
+#ifdef CONFIG_SMP
+
#include <asm/spinlock.h>
#include <asm/atomic.h>
#include <asm/current.h>
-#ifdef CONFIG_SMP
-
/* Mappings are straight across. If we want
to add support for disabling cpus and such,