summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/nmi.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-02 15:50:10 +0400
committerIngo Molnar <mingo@elte.hu>2008-06-02 15:57:12 +0400
commit3d1ba1da2b4ff4ace7801e99fb9a3095b182d847 (patch)
treeb94e8958f06b9f64fdaa8f2f20849b6dafb1cc48 /arch/x86/kernel/nmi.c
parent88ff0a474e98f869d8c321e29481f298320100d6 (diff)
downloadlinux-3d1ba1da2b4ff4ace7801e99fb9a3095b182d847.tar.xz
x86: fix nmi.c build bug
apic.h needs to be included for the apic_write_around() definition.
Diffstat (limited to 'arch/x86/kernel/nmi.c')
-rw-r--r--arch/x86/kernel/nmi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c
index bf143f191fb1..cbd4fa3c475b 100644
--- a/arch/x86/kernel/nmi.c
+++ b/arch/x86/kernel/nmi.c
@@ -11,6 +11,8 @@
* Mikael Pettersson : PM converted to driver model. Disable/enable API.
*/
+#include <asm/apic.h>
+
#include <linux/nmi.h>
#include <linux/mm.h>
#include <linux/delay.h>