aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/smpboot_32.c6
-rw-r--r--arch/x86/mach-voyager/voyager_smp.c7
2 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 1eb7b73b45a..ae25927f08c 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -257,12 +257,6 @@ void __devinit initialize_secondary(void)
257 :"m" (current->thread.sp),"m" (current->thread.ip)); 257 :"m" (current->thread.sp),"m" (current->thread.ip));
258} 258}
259 259
260/* Static state in head.S used to set up a CPU */
261extern struct {
262 void * sp;
263 unsigned short ss;
264} stack_start;
265
266static inline void __inquire_remote_apic(int apicid) 260static inline void __inquire_remote_apic(int apicid)
267{ 261{
268 unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 }; 262 unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
diff --git a/arch/x86/mach-voyager/voyager_smp.c b/arch/x86/mach-voyager/voyager_smp.c
index 11b806c7ed9..4397235c2e3 100644
--- a/arch/x86/mach-voyager/voyager_smp.c
+++ b/arch/x86/mach-voyager/voyager_smp.c
@@ -520,13 +520,6 @@ static void __init do_boot_cpu(__u8 cpu)
520 & ~(voyager_extended_vic_processors 520 & ~(voyager_extended_vic_processors
521 & voyager_allowed_boot_processors); 521 & voyager_allowed_boot_processors);
522 522
523 /* This is an area in head.S which was used to set up the
524 * initial kernel stack. We need to alter this to give the
525 * booting CPU a new stack (taken from its idle process) */
526 extern struct {
527 __u8 *sp;
528 unsigned short ss;
529 } stack_start;
530 /* This is the format of the CPI IDT gate (in real mode) which 523 /* This is the format of the CPI IDT gate (in real mode) which
531 * we're hijacking to boot the CPU */ 524 * we're hijacking to boot the CPU */
532 union IDTFormat { 525 union IDTFormat {