diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -659,7 +659,7 @@ static inline kmem_cache_t *__find_general_cachep(size_t size, | |||
659 | * kmem_cache_create(), or __kmalloc(), before | 659 | * kmem_cache_create(), or __kmalloc(), before |
660 | * the generic caches are initialized. | 660 | * the generic caches are initialized. |
661 | */ | 661 | */ |
662 | BUG_ON(csizep->cs_cachep == NULL); | 662 | BUG_ON(malloc_sizes[INDEX_AC].cs_cachep == NULL); |
663 | #endif | 663 | #endif |
664 | while (size > csizep->cs_size) | 664 | while (size > csizep->cs_size) |
665 | csizep++; | 665 | csizep++; |