aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/smpboot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/kernel/smpboot.c b/arch/i386/kernel/smpboot.c
index a768eceeac37..a4b7ad283f49 100644
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -516,7 +516,6 @@ static void unmap_cpu_to_logical_apicid(int cpu)
516 unmap_cpu_to_node(cpu); 516 unmap_cpu_to_node(cpu);
517} 517}
518 518
519#if APIC_DEBUG
520static inline void __inquire_remote_apic(int apicid) 519static inline void __inquire_remote_apic(int apicid)
521{ 520{
522 int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 }; 521 int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
@@ -548,14 +547,13 @@ static inline void __inquire_remote_apic(int apicid)
548 switch (status) { 547 switch (status) {
549 case APIC_ICR_RR_VALID: 548 case APIC_ICR_RR_VALID:
550 status = apic_read(APIC_RRR); 549 status = apic_read(APIC_RRR);
551 printk("%08x\n", status); 550 printk("%lx\n", status);
552 break; 551 break;
553 default: 552 default:
554 printk("failed\n"); 553 printk("failed\n");
555 } 554 }
556 } 555 }
557} 556}
558#endif
559 557
560#ifdef WAKE_SECONDARY_VIA_NMI 558#ifdef WAKE_SECONDARY_VIA_NMI
561/* 559/*