Browse Source

x86: fix nmi.c build bug

apic.h needs to be included for the apic_write_around() definition.
Ingo Molnar 17 years ago
parent
commit
3d1ba1da2b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/x86/kernel/nmi.c

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