summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-17 08:31:15 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-17 08:31:15 -0700
commit1bf7b31efa0c322d93cb3f772cd9bc743e8bb42d (patch)
tree5bd46f735fc747e6ec89b02c9f4adb539b19c315 /arch
parent1af0815f9639752409a9c15ba6a3dc0f322fd114 (diff)
downloadop-kernel-dev-1bf7b31efa0c322d93cb3f772cd9bc743e8bb42d.zip
op-kernel-dev-1bf7b31efa0c322d93cb3f772cd9bc743e8bb42d.tar.gz
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>
Diffstat (limited to 'arch')
-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..e1acec0f 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>
OpenPOWER on IntegriCloud