summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@xensource.com>2007-07-17 18:37:03 -0700
committerJeremy Fitzhardinge <jeremy@goop.org>2007-07-18 08:47:41 -0700
commit724faa89ccd8fae65f3d41a47b0e1034cf07918b (patch)
tree6e720d0d35ac99eae1bc8f3e8bc304f4f144d6b5
parent53787013248f52af81d99f63454e5a5cf34d6f12 (diff)
downloadop-kernel-dev-724faa89ccd8fae65f3d41a47b0e1034cf07918b.zip
op-kernel-dev-724faa89ccd8fae65f3d41a47b0e1034cf07918b.tar.gz
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>
-rw-r--r--arch/i386/kernel/smpboot.c2
-rw-r--r--include/asm-i386/smp.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c
index 0b29545..2675293 100644
--- a/arch/i386/kernel/smpboot.c
+++ b/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;
diff --git a/include/asm-i386/smp.h b/include/asm-i386/smp.h
index 0c71327..0f54f44 100644
--- a/include/asm-i386/smp.h
+++ b/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 */
OpenPOWER on IntegriCloud