Skip to content

Commit

Permalink
[PATCH] i386: Little cleanups in smpboot.c
Browse files Browse the repository at this point in the history
- Remove #if that is always set
- Fix warning

Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed May 2, 2007
1 parent 3bea9c9 commit ec1180d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/i386/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ static void unmap_cpu_to_logical_apicid(int cpu)
unmap_cpu_to_node(cpu);
}

#if APIC_DEBUG
static inline void __inquire_remote_apic(int apicid)
{
int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
Expand Down Expand Up @@ -548,14 +547,13 @@ static inline void __inquire_remote_apic(int apicid)
switch (status) {
case APIC_ICR_RR_VALID:
status = apic_read(APIC_RRR);
printk("%08x\n", status);
printk("%lx\n", status);
break;
default:
printk("failed\n");
}
}
}
#endif

#ifdef WAKE_SECONDARY_VIA_NMI
/*
Expand Down

0 comments on commit ec1180d

Please sign in to comment.