summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 14:12:33 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:53 +0200
commitc76cb36846da6d5d6fb2951968869faa4fd1001d (patch)
tree4252ac5b35b83aed5ca4509a0d12afe9788014ce /include/asm-x86/smp.h
parent16694024d6d6fa84dfcf5400b53afe1e75cebf0d (diff)
x86: move smp_ops extern declaration to common header
the smp_ops symbol is temporarily defined in smp_64.c, but it will soon be unified Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r--include/asm-x86/smp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index d11b92b5635..ee98beeb751 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"