summaryrefslogtreecommitdiff
path: root/mm/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.h')
-rw-r--r--mm/slab.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/slab.h b/mm/slab.h
index 8ffb287..a535033 100644
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -247,11 +247,7 @@ static inline struct kmem_cache *cache_from_obj(struct kmem_cache *s, void *x)
* The slab lists for all objects.
*/
struct kmem_cache_node {
-#ifdef CONFIG_SLUB
- raw_spinlock_t list_lock;
-#else
spinlock_t list_lock;
-#endif
#ifdef CONFIG_SLAB
struct list_head slabs_partial; /* partial list first, better asm code */