summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/smp.h3
-rw-r--r--include/asm-x86/smp_32.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index d11b92b56353..ee98beeb7511 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -21,6 +21,9 @@ struct smp_ops {
int wait);
};
+#ifdef CONFIG_SMP
+extern struct smp_ops smp_ops;
+#endif
#ifdef CONFIG_X86_32
# include "smp_32.h"
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index 72faad6509c7..74755e8ffc77 100644
--- a/include/asm-x86/smp_32.h
+++ b/include/asm-x86/smp_32.h
@@ -39,8 +39,6 @@ extern void remove_siblinginfo(int cpu);
extern void set_cpu_sibling_map(int cpu);
#ifdef CONFIG_SMP
-extern struct smp_ops smp_ops;
-
static inline void smp_prepare_boot_cpu(void)
{
smp_ops.smp_prepare_boot_cpu();