diff options
Diffstat (limited to 'arch/frv/mm/pgalloc.c')
-rw-r--r-- | arch/frv/mm/pgalloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/frv/mm/pgalloc.c b/arch/frv/mm/pgalloc.c index 19b13be114a2..598a26ab8ad8 100644 --- a/arch/frv/mm/pgalloc.c +++ b/arch/frv/mm/pgalloc.c | |||
@@ -151,9 +151,7 @@ void __init pgtable_cache_init(void) | |||
151 | pgd_cache = kmem_cache_create("pgd", | 151 | pgd_cache = kmem_cache_create("pgd", |
152 | PTRS_PER_PGD * sizeof(pgd_t), | 152 | PTRS_PER_PGD * sizeof(pgd_t), |
153 | PTRS_PER_PGD * sizeof(pgd_t), | 153 | PTRS_PER_PGD * sizeof(pgd_t), |
154 | 0, | 154 | SLAB_PANIC, |
155 | pgd_ctor, | 155 | pgd_ctor, |
156 | pgd_dtor); | 156 | pgd_dtor); |
157 | if (!pgd_cache) | ||
158 | panic("pgtable_cache_init(): Cannot create pgd cache"); | ||
159 | } | 157 | } |