Commit 7f3c1fa4 authored by Jan Kiszka's avatar Jan Kiszka Committed by Tejun Heo

uml: Fix build breakage after slab.h changes

We now have to to include linux/slab.h explicitly for kmalloc &
friends.  Files that build against host headers already get their
prototypes via um_malloc.h, linux/slab.h may even be unavailable.
Signed-off-by: default avatarJan Kiszka <jan.kiszka@web.de>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 13bd8e46
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "linux/irqreturn.h" #include "linux/irqreturn.h"
#include "linux/kd.h" #include "linux/kd.h"
#include "linux/sched.h" #include "linux/sched.h"
#include "linux/slab.h"
#include "chan_kern.h" #include "chan_kern.h"
#include "irq_kern.h" #include "irq_kern.h"
#include "irq_user.h" #include "irq_user.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <errno.h> #include <errno.h>
#include <sched.h> #include <sched.h>
#include <linux/limits.h> #include <linux/limits.h>
#include <linux/slab.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "kern_constants.h" #include "kern_constants.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