瀏覽代碼

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>
H. Peter Anvin 16 年之前
父節點
當前提交
1bf7b31efa
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/x86/kernel/cpu/mcheck/mce_intel.c

+ 1 - 0
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>