x86, mce: mce_intel.c needs <asm/apic.h>
authorH. Peter Anvin <hpa@zytor.com>
Wed, 17 Jun 2009 15:31:15 +0000 (08:31 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 17 Jun 2009 15:31:15 +0000 (08:31 -0700)
mce_intel.c uses apic_write() and lapic_get_maxlvt(), and so it needs
<asm/apic.h>.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
arch/x86/kernel/cpu/mcheck/mce_intel.c

index 663a88e8b3c79ddeb57f80081ccfa465b2e22643..e1acec0f7a324e2b26ed02f8fbd1b01f72b2e7ab 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
+#include <asm/apic.h>
 #include <asm/processor.h>
 #include <asm/msr.h>
 #include <asm/mce.h>