Include missing linux/slab.h inclusions
authorDavid Howells <dhowells@redhat.com>
Thu, 11 Apr 2013 22:51:01 +0000 (23:51 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:42:01 +0000 (15:42 -0400)
Include missing linux/slab.h inclusions where the source file is currently
expecting to get kmalloc() and co. through linux/proc_fs.h.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cc: linux-s390@vger.kernel.org
cc: sparclinux@vger.kernel.org
cc: linux-efi@vger.kernel.org
cc: linux-mtd@lists.infradead.org
cc: devel@driverdev.osuosl.org
cc: x86@kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/s390/kernel/os_info.c
arch/sparc/kernel/sun4d_irq.c
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_64.c
drivers/mtd/mtdcore.c
drivers/pps/clients/pps_parport.c
drivers/staging/dgrp/dgrp_dpa_ops.c
drivers/staging/dgrp/dgrp_mon_ops.c
drivers/staging/dgrp/dgrp_net_ops.c
drivers/staging/dgrp/dgrp_specproc.c
fs/proc/self.c

index 46480d81df00029aa395f39861a7d40dd7f49bde..d112fc66f993e84431b013b018c84f29144882aa 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/crash_dump.h>
 #include <linux/kernel.h>
+#include <linux/slab.h>
 #include <asm/checksum.h>
 #include <asm/lowcore.h>
 #include <asm/os_info.h>
index e490ac9327c7463462e30a31bf03f65cfd3e98a0..f8933be3ca8b211ae5c459adcecf0d80af6439f5 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/kernel_stat.h>
+#include <linux/slab.h>
 #include <linux/seq_file.h>
 
 #include <asm/timer.h>
index 5f2ecaf3f9d8609ccdc7a56e4d232fd13bdd8dcc..55ea7dfb5b3c65e229a046400b2eb9ef8a82ba19 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/efi-bgrt.h>
 #include <linux/export.h>
 #include <linux/bootmem.h>
+#include <linux/slab.h>
 #include <linux/memblock.h>
 #include <linux/spinlock.h>
 #include <linux/uaccess.h>
index 2b2003860615fbc5e24ef12e1c1fa3d855a1f09d..39a0e7f1f0a3ec1c7601888d30c724a5b8660e19 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/uaccess.h>
 #include <linux/io.h>
 #include <linux/reboot.h>
+#include <linux/slab.h>
 
 #include <asm/setup.h>
 #include <asm/page.h>
index 61d5f56473e11cc32c923d12f0f30f26cee4c557..322ca65b0cc59fe5fd0dcf4c13ce71f9f91e2753 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/idr.h>
 #include <linux/backing-dev.h>
 #include <linux/gfp.h>
+#include <linux/slab.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
index e1b4705ae3ec83ec1beddfda1dc98d4259bd2a6d..38a8bbe7481008232e7336777850d683afb765be 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/init.h>
 #include <linux/irqnr.h>
 #include <linux/time.h>
+#include <linux/slab.h>
 #include <linux/parport.h>
 #include <linux/pps_kernel.h>
 
index 43209c163a43c43401b4e2851b6e073c3970ff73..1fc13de4bdd699a6a38dec3146d8ee749395da62 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/cred.h>
 #include <linux/sched.h>
 #include <linux/ratelimit.h>
+#include <linux/slab.h>
 #include <asm/unaligned.h>
 
 #include "dgrp_common.h"
index 6edbbf069150b7b4b279cf5c81d578828dcb2da8..d18be4180e3bad40cad4c83557db85c78fb9e1ef 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/tty.h>
 #include <linux/sched.h>
 #include <asm/unaligned.h>
+#include <linux/slab.h>
 #include <linux/proc_fs.h>
 #include <linux/uaccess.h>
 
index 5448fc78bcadf62ca1db14632d7da428651d0198..9914f1c5bcd36011e1874e52a16812858988544a 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <linux/module.h>
 #include <linux/proc_fs.h>
-#include <linux/types.h>
+#include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/device.h>
 #include <linux/tty.h>
index b990b2686ba9569b827b0916a550a6d358b822f4..205d80ef44558a0c26468e3b4a4d4c34ce50e786 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/sched.h>
 #include <linux/cred.h>
 #include <linux/proc_fs.h>
+#include <linux/slab.h>
 #include <linux/ctype.h>
 #include <linux/seq_file.h>
 #include <linux/uaccess.h>
index 21940d89977e8a4de528496b76a77d67ac2e0006..6b6a993b5c25a0ccb277bcf53b0c19489582f316 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/sched.h>
 #include <linux/namei.h>
+#include <linux/slab.h>
 #include <linux/pid_namespace.h>
 #include "internal.h"