diff options
Diffstat (limited to 'arch/arm26/mm/memc.c')
-rw-r--r-- | arch/arm26/mm/memc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm26/mm/memc.c b/arch/arm26/mm/memc.c index f2901581d4da..42505541a9b1 100644 --- a/arch/arm26/mm/memc.c +++ b/arch/arm26/mm/memc.c | |||
@@ -176,13 +176,9 @@ void __init pgtable_cache_init(void) | |||
176 | { | 176 | { |
177 | pte_cache = kmem_cache_create("pte-cache", | 177 | pte_cache = kmem_cache_create("pte-cache", |
178 | sizeof(pte_t) * PTRS_PER_PTE, | 178 | sizeof(pte_t) * PTRS_PER_PTE, |
179 | 0, 0, pte_cache_ctor, NULL); | 179 | 0, SLAB_PANIC, pte_cache_ctor, NULL); |
180 | if (!pte_cache) | ||
181 | BUG(); | ||
182 | 180 | ||
183 | pgd_cache = kmem_cache_create("pgd-cache", MEMC_TABLE_SIZE + | 181 | pgd_cache = kmem_cache_create("pgd-cache", MEMC_TABLE_SIZE + |
184 | sizeof(pgd_t) * PTRS_PER_PGD, | 182 | sizeof(pgd_t) * PTRS_PER_PGD, |
185 | 0, 0, pgd_cache_ctor, NULL); | 183 | 0, SLAB_PANIC, pgd_cache_ctor, NULL); |
186 | if (!pgd_cache) | ||
187 | BUG(); | ||
188 | } | 184 | } |