Ver código fonte

paravirt: unstatic smp_store_cpu_info

Paravirt implementations need to store cpu info when bringing up cpus.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Jeremy Fitzhardinge 18 anos atrás
pai
commit
724faa89cc
2 arquivos alterados com 3 adições e 1 exclusões
  1. 1 1
      arch/i386/kernel/smpboot.c
  2. 2 0
      include/asm-i386/smp.h

+ 1 - 1
arch/i386/kernel/smpboot.c

@@ -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;
 

+ 2 - 0
include/asm-i386/smp.h

@@ -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 */