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 9cfc094eddb0cea59c2adcb9fc66f5662e054e66..662e63e1cd57a51a1393d3e7bbc811eaf6b43077 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 10b8a6f69f84d51348827655903580cdfa6a5e93..787a5e499dd1d395dcfdc160e4c1682913cab5b9 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>