Index: linux-2.6/include/linux/slub_def.h =================================================================== --- linux-2.6.orig/include/linux/slub_def.h 2007-12-27 11:50:12.000000000 -0800 +++ linux-2.6/include/linux/slub_def.h 2007-12-27 11:50:24.000000000 -0800 @@ -55,7 +55,7 @@ struct kmem_cache { const char *name; /* Name (only for display!) */ struct list_head list; /* List of slab caches */ #ifdef CONFIG_SLUB_DEBUG - struct kobject kobj; /* For sysfs */ + struct kobject *kobj; /* For sysfs */ #endif #ifdef CONFIG_NUMA