diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -326,6 +326,7 @@ static inline int oo_objects(struct kmem_cache_order_objects x) | |||
326 | return x.x & OO_MASK; | 326 | return x.x & OO_MASK; |
327 | } | 327 | } |
328 | 328 | ||
329 | #ifdef CONFIG_SLUB_DEBUG | ||
329 | /* | 330 | /* |
330 | * Determine a map of object in use on a page. | 331 | * Determine a map of object in use on a page. |
331 | * | 332 | * |
@@ -341,7 +342,6 @@ static void get_map(struct kmem_cache *s, struct page *page, unsigned long *map) | |||
341 | set_bit(slab_index(p, s, addr), map); | 342 | set_bit(slab_index(p, s, addr), map); |
342 | } | 343 | } |
343 | 344 | ||
344 | #ifdef CONFIG_SLUB_DEBUG | ||
345 | /* | 345 | /* |
346 | * Debug settings: | 346 | * Debug settings: |
347 | */ | 347 | */ |