summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/test_nx.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-03-13 21:47:32 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:15 +0200
commit0054f4b708d21bd0032480cf7309d17753bc17bb (patch)
treedf3aaaa825af671497e6d48e89c1744a1ea106d2 /arch/x86/kernel/test_nx.c
parentf7d909d5475bb27d261389a3902860e086b0d4c9 (diff)
downloadop-kernel-dev-0054f4b708d21bd0032480cf7309d17753bc17bb.zip
op-kernel-dev-0054f4b708d21bd0032480cf7309d17753bc17bb.tar.gz
x86: Explicitly include required header files.
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>
Diffstat (limited to 'arch/x86/kernel/test_nx.c')
-rw-r--r--arch/x86/kernel/test_nx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/test_nx.c b/arch/x86/kernel/test_nx.c
index 10b8a6f..787a5e4 100644
--- a/arch/x86/kernel/test_nx.c
+++ b/arch/x86/kernel/test_nx.c
@@ -11,6 +11,8 @@
*/
#include <linux/module.h>
#include <linux/sort.h>
+#include <linux/slab.h>
+
#include <asm/uaccess.h>
#include <asm/asm.h>
OpenPOWER on IntegriCloud