aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-voyager/voyager_smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mach-voyager/voyager_smp.c')
-rw-r--r--arch/x86/mach-voyager/voyager_smp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c
index 0f6e8a6523ae..9cd327a278ad 100644
--- a/arch/x86/mach-voyager/voyager_smp.c
+++ b/arch/x86/mach-voyager/voyager_smp.c
@@ -90,6 +90,7 @@ static void ack_vic_irq(unsigned int irq);
90static void vic_enable_cpi(void); 90static void vic_enable_cpi(void);
91static void do_boot_cpu(__u8 cpuid); 91static void do_boot_cpu(__u8 cpuid);
92static void do_quad_bootstrap(void); 92static void do_quad_bootstrap(void);
93static void initialize_secondary(void);
93 94
94int hard_smp_processor_id(void); 95int hard_smp_processor_id(void);
95int safe_smp_processor_id(void); 96int safe_smp_processor_id(void);
@@ -650,6 +651,8 @@ void __init smp_boot_cpus(void)
650 smp_tune_scheduling(); 651 smp_tune_scheduling();
651 */ 652 */
652 smp_store_cpu_info(boot_cpu_id); 653 smp_store_cpu_info(boot_cpu_id);
654 /* setup the jump vector */
655 initial_code = (unsigned long)initialize_secondary;
653 printk("CPU%d: ", boot_cpu_id); 656 printk("CPU%d: ", boot_cpu_id);
654 print_cpu_info(&cpu_data(boot_cpu_id)); 657 print_cpu_info(&cpu_data(boot_cpu_id));
655 658
@@ -702,7 +705,7 @@ void __init smp_boot_cpus(void)
702 705
703/* Reload the secondary CPUs task structure (this function does not 706/* Reload the secondary CPUs task structure (this function does not
704 * return ) */ 707 * return ) */
705void __init initialize_secondary(void) 708static void __init initialize_secondary(void)
706{ 709{
707#if 0 710#if 0
708 // AC kernels only 711 // AC kernels only