From: Christoph Lameter Remove all uses of kmem_cache_t (the most were left in slab.h). The typedef for kmem_cache_t is then only necessary for other kernel subsystems. Add a comment to that effect. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- mm/swap_prefetch.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/swap_prefetch.c~remove-uses-of-kmem_cache_t-from-mm-and-include-linux-slabh-prefetch mm/swap_prefetch.c --- a/mm/swap_prefetch.c~remove-uses-of-kmem_cache_t-from-mm-and-include-linux-slabh-prefetch +++ a/mm/swap_prefetch.c @@ -39,7 +39,7 @@ struct swapped_root { struct radix_tree_root swap_tree; /* Lookup tree of pages */ unsigned int count; /* Number of entries */ unsigned int maxcount; /* Maximum entries allowed */ - kmem_cache_t *cache; /* Of struct swapped_entry */ + struct kmem_cache *cache; /* Of struct swapped_entry */ }; static struct swapped_root swapped = { _