x86: Explicitly include required header files.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Fri, 14 Mar 2008 01:47:32 +0000 (21:47 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:15 +0000 (17:41 +0200)
After an experimental cleanup of <linux/percpu.h>, these files were
exposed as invoking kmalloc() without including <linux/slab.h>.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/nmi_32.c
arch/x86/kernel/test_nx.c

index 9cfc094..662e63e 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/cpumask.h>
 #include <linux/kernel_stat.h>
 #include <linux/kdebug.h>
+#include <linux/slab.h>
 
 #include <asm/smp.h>
 #include <asm/nmi.h>
index 10b8a6f..787a5e4 100644 (file)
@@ -11,6 +11,8 @@
  */
 #include <linux/module.h>
 #include <linux/sort.h>
+#include <linux/slab.h>
+
 #include <asm/uaccess.h>
 #include <asm/asm.h>