x86, mce: fix build failure in arch/x86/kernel/cpu/mcheck/threshold.c
authorIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 10:47:17 +0000 (11:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 10:48:28 +0000 (11:48 +0100)
commit73af76dfd1f998dba71d8e8e785cbe77a990bf17
treef0396f6b9730078188e6db382d838b763a61bd6c
parent2e22ea7cea0f7de86fd30df867fbf5b7e8eee0fd
x86, mce: fix build failure in arch/x86/kernel/cpu/mcheck/threshold.c

Impact: build fix

The APIC code rewrite in the x86 tree broke the x86/mce branch:

 arch/x86/kernel/cpu/mcheck/threshold.c: In function ‘mce_threshold_interrupt’:
 arch/x86/kernel/cpu/mcheck/threshold.c:24: error: implicit declaration of function ‘ack_APIC_irq’

Also tidy up the file a bit while at it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/threshold.c