diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-04-19 10:46:23 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-04-19 10:46:23 +0200 |
commit | 7f3c1fa4c3f52ef65005ae5162e5173e875b8c0c (patch) | |
tree | a8a1c7c333481e108de78a854d85a7bb9f84e43b /arch/um/os-Linux | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anh... (diff) | |
download | linux-7f3c1fa4c3f52ef65005ae5162e5173e875b8c0c.tar.xz linux-7f3c1fa4c3f52ef65005ae5162e5173e875b8c0c.zip |
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: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/helper.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c index 06d6ccf0e444..b6b1096152aa 100644 --- a/arch/um/os-Linux/helper.c +++ b/arch/um/os-Linux/helper.c @@ -8,7 +8,6 @@ #include <errno.h> #include <sched.h> #include <linux/limits.h> -#include <linux/slab.h> #include <sys/socket.h> #include <sys/wait.h> #include "kern_constants.h" |