2 * Common corrected MCE threshold handler code:
4 #include <linux/interrupt.h>
5 #include <linux/kernel.h>
7 #include <asm/irq_vectors.h>
12 static void default_threshold_interrupt(void)
14 printk(KERN_ERR "Unexpected threshold interrupt at vector %x\n",
15 THRESHOLD_APIC_VECTOR);
18 void (*mce_threshold_vector)(void) = default_threshold_interrupt;
20 asmlinkage void mce_threshold_interrupt(void)
24 inc_irq_stat(irq_threshold_count);
25 mce_threshold_vector();
27 /* Ack only at the end to avoid potential reentry */