summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 14:12:59 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:56 +0200
commit1452207689b3c0dd2ffed40735289a3a4a8c0c7c (patch)
tree098e5b305974127c864276e636ad174846bbcfed /include/asm-x86/smp.h
parenta355352b97901d987f54ea7c7d7161eb51a3799c (diff)
downloadkernel-crypto-1452207689b3c0dd2ffed40735289a3a4a8c0c7c.tar.gz
kernel-crypto-1452207689b3c0dd2ffed40735289a3a4a8c0c7c.tar.xz
kernel-crypto-1452207689b3c0dd2ffed40735289a3a4a8c0c7c.zip
x86: make set_cpu_sibling_map nonstatic
And move its extern definition to smp.h, the common header 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 2ab8ed4e99e..1b4481aeb5c 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -22,6 +22,9 @@ struct smp_ops {
int wait);
};
+/* Globals due to paravirt */
+extern void set_cpu_sibling_map(int cpu);
+
#ifdef CONFIG_SMP
extern struct smp_ops smp_ops;