aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 9e876d6dfad9..437d3388054b 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -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++;