diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h
index cbe8325a6622eba1eabae989d5ae52f1e92793f0..841f4bec9fe6df8294255c20c31a834c2adfbb18 100644
--- a/lustre/include/linux/obd_support.h
+++ b/lustre/include/linux/obd_support.h
@@ -1,7 +1,7 @@
 #ifndef _OBD_SUPPORT
 #define _OBD_SUPPORT
 #include <linux/autoconf.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/vmalloc.h>
 
 #define MIN(a,b) (((a)<(b)) ? (a): (b))
diff --git a/lustre/obdclass/class_obd.c b/lustre/obdclass/class_obd.c
index 0ee1298907734a9d365a34ebbf61abe990d1918f..37072fa5b06869089b112bf832119eca5d78e629 100644
--- a/lustre/obdclass/class_obd.c
+++ b/lustre/obdclass/class_obd.c
@@ -37,7 +37,7 @@
 #include <linux/kmod.h>   /* for request_module() */
 #include <linux/sched.h>
 #include <linux/lp.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/ioport.h>
 #include <linux/fcntl.h>
 #include <linux/delay.h>
diff --git a/lustre/obdclass/sysctl.c b/lustre/obdclass/sysctl.c
index 8e308b8c8c14c8e723f6b42797bc954fc7b991ef..3944b03e1ebd9bea1339faae3c031488756b0cdf 100644
--- a/lustre/obdclass/sysctl.c
+++ b/lustre/obdclass/sysctl.c
@@ -6,7 +6,7 @@
 #include <linux/sysctl.h>
 #include <linux/swapctl.h>
 #include <linux/proc_fs.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/stat.h>
 #include <linux/ctype.h>
 #include <asm/bitops.h>
diff --git a/lustre/obdfs/sysctl.c b/lustre/obdfs/sysctl.c
index afbb4d6bca57780586e4e7709ec8bb972dc1e8d4..be63d570b9432576cf2ed0468a562eac7b774f66 100644
--- a/lustre/obdfs/sysctl.c
+++ b/lustre/obdfs/sysctl.c
@@ -3,7 +3,7 @@
 #include <linux/sysctl.h>
 #include <linux/swapctl.h>
 #include <linux/proc_fs.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/stat.h>
 #include <linux/ctype.h>
 #include <asm/bitops.h>