diff options
Diffstat (limited to 'arch/i386/mm/init.c')
-rw-r--r-- | arch/i386/mm/init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index c50782efa5c3..b22ce8d6b1ba 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -740,7 +740,6 @@ int remove_memory(u64 start, u64 size) | |||
740 | EXPORT_SYMBOL_GPL(remove_memory); | 740 | EXPORT_SYMBOL_GPL(remove_memory); |
741 | #endif | 741 | #endif |
742 | 742 | ||
743 | struct kmem_cache *pgd_cache; | ||
744 | struct kmem_cache *pmd_cache; | 743 | struct kmem_cache *pmd_cache; |
745 | 744 | ||
746 | void __init pgtable_cache_init(void) | 745 | void __init pgtable_cache_init(void) |
@@ -764,12 +763,6 @@ void __init pgtable_cache_init(void) | |||
764 | pgd_size = PAGE_SIZE; | 763 | pgd_size = PAGE_SIZE; |
765 | } | 764 | } |
766 | } | 765 | } |
767 | pgd_cache = kmem_cache_create("pgd", | ||
768 | pgd_size, | ||
769 | pgd_size, | ||
770 | SLAB_PANIC, | ||
771 | pgd_ctor, | ||
772 | (!SHARED_KERNEL_PMD) ? pgd_dtor : NULL); | ||
773 | } | 766 | } |
774 | 767 | ||
775 | /* | 768 | /* |