slab: move struct kmem_cache to headers
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 9 May 2008 18:32:44 +0000 (20:32 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Sat, 13 Jun 2009 06:58:43 +0000 (08:58 +0200)
commit8eae985f08138758e06503588f5f1196269bc415
tree6bcd43b5ee4cfd225ee2a630441b61c7c2ce69eb
parentb618ad31bb2020db6a36929122e5554e33210d47
slab: move struct kmem_cache to headers

Move the SLAB struct kmem_cache definition to <linux/slab_def.h> like
with SLUB so kmemcheck can access ->ctor and ->flags.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
[rebased for mainline inclusion]
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
include/linux/slab_def.h
mm/slab.c