diff options
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r-- | arch/x86/mm/init_32.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 02d269c07b96..da524fb22422 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -704,19 +704,6 @@ int arch_add_memory(int nid, u64 start, u64 size) | |||
704 | } | 704 | } |
705 | #endif | 705 | #endif |
706 | 706 | ||
707 | struct kmem_cache *pmd_cache; | ||
708 | |||
709 | void __init pgtable_cache_init(void) | ||
710 | { | ||
711 | if (PTRS_PER_PMD > 1) { | ||
712 | pmd_cache = kmem_cache_create("pmd", | ||
713 | PTRS_PER_PMD*sizeof(pmd_t), | ||
714 | PTRS_PER_PMD*sizeof(pmd_t), | ||
715 | SLAB_PANIC, | ||
716 | pmd_ctor); | ||
717 | } | ||
718 | } | ||
719 | |||
720 | /* | 707 | /* |
721 | * This function cannot be __init, since exceptions don't work in that | 708 | * This function cannot be __init, since exceptions don't work in that |
722 | * section. Put this after the callers, so that it cannot be inlined. | 709 | * section. Put this after the callers, so that it cannot be inlined. |