summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-17 15:31:15 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2009-06-17 15:31:15 (GMT)
commit1bf7b31efa0c322d93cb3f772cd9bc743e8bb42d (patch)
tree5bd46f735fc747e6ec89b02c9f4adb539b19c315
parent1af0815f9639752409a9c15ba6a3dc0f322fd114 (diff)
downloadlinux-1bf7b31efa0c322d93cb3f772cd9bc743e8bb42d.tar.xz
x86, mce: mce_intel.c needs <asm/apic.h>
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>
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_intel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_intel.c b/arch/x86/kernel/cpu/mcheck/mce_intel.c
index 663a88e..e1acec0 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_intel.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_intel.c
@@ -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>