[PATCH] i386: Little cleanups in smpboot.c
- Remove #if that is always set - Fix warning Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
parent
3bea9c9793
commit
ec1180db2c
@ -516,7 +516,6 @@ static void unmap_cpu_to_logical_apicid(int cpu)
|
|||||||
unmap_cpu_to_node(cpu);
|
unmap_cpu_to_node(cpu);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if APIC_DEBUG
|
|
||||||
static inline void __inquire_remote_apic(int apicid)
|
static inline void __inquire_remote_apic(int apicid)
|
||||||
{
|
{
|
||||||
int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
|
int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
|
||||||
@ -548,14 +547,13 @@ static inline void __inquire_remote_apic(int apicid)
|
|||||||
switch (status) {
|
switch (status) {
|
||||||
case APIC_ICR_RR_VALID:
|
case APIC_ICR_RR_VALID:
|
||||||
status = apic_read(APIC_RRR);
|
status = apic_read(APIC_RRR);
|
||||||
printk("%08x\n", status);
|
printk("%lx\n", status);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk("failed\n");
|
printk("failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef WAKE_SECONDARY_VIA_NMI
|
#ifdef WAKE_SECONDARY_VIA_NMI
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user