From 7d7be6a0ca88aeeaad0766c513ad56abefc0df73 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 6 Dec 2006 20:33:22 -0800 Subject: [PATCH] --- yaml --- r: 42696 b: refs/heads/master c: 1b1cec4bbc59feac89670d5d6d222a02545bac94 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/slab.h | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 84c65061291e..bf13be417bd6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e18b890bb0881bbab6f4f1a6cd20d9c60d66b003 +refs/heads/master: 1b1cec4bbc59feac89670d5d6d222a02545bac94 diff --git a/trunk/include/linux/slab.h b/trunk/include/linux/slab.h index fbcfc208f52b..2271886744f8 100644 --- a/trunk/include/linux/slab.h +++ b/trunk/include/linux/slab.h @@ -7,16 +7,17 @@ #ifndef _LINUX_SLAB_H #define _LINUX_SLAB_H -#if defined(__KERNEL__) +#ifdef __KERNEL__ -/* kmem_cache_t exists for legacy reasons and is not used by code in mm */ -typedef struct kmem_cache kmem_cache_t; +#include +#include +#include +#include /* kmalloc_sizes.h needs PAGE_SIZE */ +#include /* kmalloc_sizes.h needs L1_CACHE_BYTES */ +#include -#include -#include -#include -#include /* kmalloc_sizes.h needs PAGE_SIZE */ -#include /* kmalloc_sizes.h needs L1_CACHE_BYTES */ +/* kmem_cache_t exists for legacy reasons and is not used by code in mm */ +typedef struct kmem_cache kmem_cache_t __deprecated; /* flags to pass to kmem_cache_create(). * The first 3 are only valid when the allocator as been build