Commit 0054f4b7 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Ingo Molnar

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: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f7d909d5
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/cpumask.h> #include <linux/cpumask.h>
#include <linux/kernel_stat.h> #include <linux/kernel_stat.h>
#include <linux/kdebug.h> #include <linux/kdebug.h>
#include <linux/slab.h>
#include <asm/smp.h> #include <asm/smp.h>
#include <asm/nmi.h> #include <asm/nmi.h>
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/sort.h> #include <linux/sort.h>
#include <linux/slab.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/asm.h> #include <asm/asm.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment