diff options
author | Jeff Mahoney <jeffm@suse.com> | 2014-04-27 23:35:43 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-05-20 08:58:51 +0200 |
commit | f1a858206804a5a694f30196e50756b86eb7d68c (patch) | |
tree | 0b62c5790d00a9c6ed3a46d11891c86c3effc490 /arch/s390/appldata/appldata_mem.c | |
parent | s390/uaccess: provide inline variants of get_user/put_user (diff) | |
download | linux-f1a858206804a5a694f30196e50756b86eb7d68c.tar.xz linux-f1a858206804a5a694f30196e50756b86eb7d68c.zip |
s390/appldata: add slab.h for kzalloc/kfree
This fixes:
arch/s390/appldata/appldata_mem.c:135:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
arch/s390/appldata/appldata_mem.c:141:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/appldata/appldata_mem.c')
-rw-r--r-- | arch/s390/appldata/appldata_mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/appldata/appldata_mem.c b/arch/s390/appldata/appldata_mem.c index 42be53743133..edcf2a706942 100644 --- a/arch/s390/appldata/appldata_mem.c +++ b/arch/s390/appldata/appldata_mem.c @@ -13,6 +13,7 @@ #include <linux/kernel_stat.h> #include <linux/pagemap.h> #include <linux/swap.h> +#include <linux/slab.h> #include <asm/io.h> #include "appldata.h" |