x86/voyager: fix boot breakage caused by x86: boot secondary cpus through initial_code

Impact: boot up secondary CPUs as well on x86/Voyager systems

This commit:

| commit 3e9704739daf46a8ba6593d749c67b5f7cd633d2
| Author: Glauber Costa <gcosta@redhat.com>
| Date: Wed May 28 13:01:54 2008 -0300
|
| x86: boot secondary cpus through initial_code

removed the use of initialize_secondary. However, it didn't update
voyager, so the secondary cpus no longer boot. Fix this by adding the
initial_code switch to voyager as well.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by James Bottomley and committed by Ingo Molnar 08c33308 c08b6acc

+4 -1
+4 -1
arch/x86/mach-voyager/voyager_smp.c
··· 90 90 static void vic_enable_cpi(void); 91 91 static void do_boot_cpu(__u8 cpuid); 92 92 static void do_quad_bootstrap(void); 93 + static void initialize_secondary(void); 93 94 94 95 int hard_smp_processor_id(void); 95 96 int safe_smp_processor_id(void); ··· 651 650 smp_tune_scheduling(); 652 651 */ 653 652 smp_store_cpu_info(boot_cpu_id); 653 + /* setup the jump vector */ 654 + initial_code = (unsigned long)initialize_secondary; 654 655 printk("CPU%d: ", boot_cpu_id); 655 656 print_cpu_info(&cpu_data(boot_cpu_id)); 656 657 ··· 705 702 706 703 /* Reload the secondary CPUs task structure (this function does not 707 704 * return ) */ 708 - void __init initialize_secondary(void) 705 + static void __init initialize_secondary(void) 709 706 { 710 707 #if 0 711 708 // AC kernels only