Skip to content

Commit

Permalink
paravirt: unstatic smp_store_cpu_info
Browse files Browse the repository at this point in the history
Paravirt implementations need to store cpu info when bringing up cpus.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
  • Loading branch information
Jeremy Fitzhardinge authored and Jeremy Fitzhardinge committed Jul 18, 2007
1 parent 5378701 commit 724faa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 2 additions & 0 deletions include/asm-i386/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 724faa8

Please sign in to comment.