paravirt: unstatic smp_store_cpu_info
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:03 +0000 (18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:41 +0000 (08:47 -0700)
Paravirt implementations need to store cpu info when bringing up cpus.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
arch/i386/kernel/smpboot.c
include/asm-i386/smp.h

index 0b2954534b8e71f3216f23a7ae8c933e0bc48d7c..26752931023adc5be6c304769279d3d542ae56e3 100644 (file)
@@ -148,7 +148,7 @@ void __init smp_alloc_memory(void)
  * a given CPU
  */
 
-static void __cpuinit smp_store_cpu_info(int id)
+void __cpuinit smp_store_cpu_info(int id)
 {
        struct cpuinfo_x86 *c = cpu_data + id;
 
index 0c713278706262e60abaa34229ccedfa4e9a45d9..0f54f44b4720453e76b0746edc311b09cc42a43c 100644 (file)
@@ -129,6 +129,8 @@ extern int __cpu_disable(void);
 extern void __cpu_die(unsigned int cpu);
 extern unsigned int num_processors;
 
+void __cpuinit smp_store_cpu_info(int id);
+
 #endif /* !__ASSEMBLY__ */
 
 #else /* CONFIG_SMP */