Commit 724faa89 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Jeremy Fitzhardinge

paravirt: unstatic smp_store_cpu_info

Paravirt implementations need to store cpu info when bringing up cpus.
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
parent 53787013
...@@ -148,7 +148,7 @@ void __init smp_alloc_memory(void) ...@@ -148,7 +148,7 @@ void __init smp_alloc_memory(void)
* a given CPU * 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; struct cpuinfo_x86 *c = cpu_data + id;
......
...@@ -129,6 +129,8 @@ extern int __cpu_disable(void); ...@@ -129,6 +129,8 @@ extern int __cpu_disable(void);
extern void __cpu_die(unsigned int cpu); extern void __cpu_die(unsigned int cpu);
extern unsigned int num_processors; extern unsigned int num_processors;
void __cpuinit smp_store_cpu_info(int id);
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
#else /* CONFIG_SMP */ #else /* CONFIG_SMP */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment