diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slob.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -533,7 +533,8 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size, | |||
533 | { | 533 | { |
534 | struct kmem_cache *c; | 534 | struct kmem_cache *c; |
535 | 535 | ||
536 | c = slob_alloc(sizeof(struct kmem_cache), flags, 0, -1); | 536 | c = slob_alloc(sizeof(struct kmem_cache), |
537 | flags, ARCH_KMALLOC_MINALIGN, -1); | ||
537 | 538 | ||
538 | if (c) { | 539 | if (c) { |
539 | c->name = name; | 540 | c->name = name; |