diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-18 03:37:03 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 17:47:41 +0200 |
commit | c70df74376c1e29a04e07e23dd3f4c384d6166dd (patch) | |
tree | e85b195f67547e9e8bc914ce9426b6969a1ec60a /arch | |
parent | paravirt: unstatic smp_store_cpu_info (diff) | |
download | linux-c70df74376c1e29a04e07e23dd3f4c384d6166dd.tar.xz linux-c70df74376c1e29a04e07e23dd3f4c384d6166dd.zip |
paravirt: make siblingmap functions visible
Paravirt implementations need to set the sibling map on new cpus.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/smpboot.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c index 26752931023a..5910d3fac561 100644 --- a/arch/i386/kernel/smpboot.c +++ b/arch/i386/kernel/smpboot.c @@ -308,8 +308,7 @@ cpumask_t cpu_coregroup_map(int cpu) /* representing cpus for which sibling maps can be computed */ static cpumask_t cpu_sibling_setup_map; -static inline void -set_cpu_sibling_map(int cpu) +void set_cpu_sibling_map(int cpu) { int i; struct cpuinfo_x86 *c = cpu_data; @@ -1144,8 +1143,7 @@ void __init native_smp_prepare_boot_cpu(void) } #ifdef CONFIG_HOTPLUG_CPU -static void -remove_siblinginfo(int cpu) +void remove_siblinginfo(int cpu) { int sibling; struct cpuinfo_x86 *c = cpu_data; |