From 36bc8861a35882690ba34ee13c26e0dda3a65c49 Mon Sep 17 00:00:00 2001 From: gord-fig <gord-fig> Date: Mon, 24 Sep 2001 17:34:29 +0000 Subject: [PATCH] Update <linux/malloc.h> to <linux/slab.h>. --- lustre/include/linux/obd_support.h | 2 +- lustre/obdclass/class_obd.c | 2 +- lustre/obdclass/sysctl.c | 2 +- lustre/obdfs/sysctl.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h index cbe8325a66..841f4bec9f 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 0ee1298907..37072fa5b0 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 8e308b8c8c..3944b03e1e 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 afbb4d6bca..be63d570b9 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> -- GitLab