diff options
Diffstat (limited to 'arch/x86/mach-voyager/voyager_smp.c')
-rw-r--r-- | arch/x86/mach-voyager/voyager_smp.c | 5 |
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); | |||
90 | static void vic_enable_cpi(void); | 90 | static void vic_enable_cpi(void); |
91 | static void do_boot_cpu(__u8 cpuid); | 91 | static void do_boot_cpu(__u8 cpuid); |
92 | static void do_quad_bootstrap(void); | 92 | static void do_quad_bootstrap(void); |
93 | static void initialize_secondary(void); | ||
93 | 94 | ||
94 | int hard_smp_processor_id(void); | 95 | int hard_smp_processor_id(void); |
95 | int safe_smp_processor_id(void); | 96 | int 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 ) */ |
705 | void __init initialize_secondary(void) | 708 | static void __init initialize_secondary(void) |
706 | { | 709 | { |
707 | #if 0 | 710 | #if 0 |
708 | // AC kernels only | 711 | // AC kernels only |