Skip to content

Commit

Permalink
x86, mce: fix build failure in arch/x86/kernel/cpu/mcheck/threshold.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Mar 4, 2009
1 parent 2e22ea7 commit 73af76d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions arch/x86/kernel/cpu/mcheck/threshold.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/* Common corrected MCE threshold handler code */
#include <linux/kernel.h>
/*
* Common corrected MCE threshold handler code:
*/
#include <linux/interrupt.h>
#include <asm/mce.h>
#include <linux/kernel.h>

#include <asm/irq_vectors.h>
#include <asm/apic.h>
#include <asm/idle.h>
#include <asm/mce.h>

static void default_threshold_interrupt(void)
{
Expand Down

0 comments on commit 73af76d

Please sign in to comment.