From 70d6ac890d0692b93ed354a9ba096095666e52a1 Mon Sep 17 00:00:00 2001 From: Glauber Costa Date: Mon, 3 Mar 2008 14:12:59 -0300 Subject: [PATCH] --- yaml --- r: 88727 b: refs/heads/master c: 1452207689b3c0dd2ffed40735289a3a4a8c0c7c h: refs/heads/master i: 88725: a6e07479f47410bda7b1324f3662345eb6fdf4eb 88723: 46353a8450f3635a5b076e353d7b637c9a899c53 88719: f6f734ef30645c69f3b9fb9732f077d917245c5d v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/smpboot_64.c | 2 +- trunk/include/asm-x86/smp.h | 3 +++ trunk/include/asm-x86/smp_32.h | 3 --- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index e187aab8ee5a..550692134d2b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a355352b97901d987f54ea7c7d7161eb51a3799c +refs/heads/master: 1452207689b3c0dd2ffed40735289a3a4a8c0c7c diff --git a/trunk/arch/x86/kernel/smpboot_64.c b/trunk/arch/x86/kernel/smpboot_64.c index c51279f05316..1e8f00a1d624 100644 --- a/trunk/arch/x86/kernel/smpboot_64.c +++ b/trunk/arch/x86/kernel/smpboot_64.c @@ -228,7 +228,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 __cpuinit set_cpu_sibling_map(int cpu) { int i; struct cpuinfo_x86 *c = &cpu_data(cpu); diff --git a/trunk/include/asm-x86/smp.h b/trunk/include/asm-x86/smp.h index 2ab8ed4e99e0..1b4481aeb5c8 100644 --- a/trunk/include/asm-x86/smp.h +++ b/trunk/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; diff --git a/trunk/include/asm-x86/smp_32.h b/trunk/include/asm-x86/smp_32.h index 29f61952ea8c..76247a947a5f 100644 --- a/trunk/include/asm-x86/smp_32.h +++ b/trunk/include/asm-x86/smp_32.h @@ -35,9 +35,6 @@ extern void cpu_uninit(void); extern void remove_siblinginfo(int cpu); #endif -/* Globals due to paravirt */ -extern void set_cpu_sibling_map(int cpu); - #ifdef CONFIG_SMP #ifndef CONFIG_PARAVIRT #define startup_ipi_hook(phys_apicid, start_eip, start_esp) do { } while (0)