From: Jan Beulich Date: Tue, 13 Feb 2007 12:26:23 +0000 (+0100) Subject: [PATCH] x86-64: remove get_pmd() X-Git-Tag: MMI-PSA29.97-13-9~45208^2~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=930f8b8bcde30b501fdf00fb7624aefb9bf35f47;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] x86-64: remove get_pmd() Function is dead. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen --- diff --git a/include/asm-x86_64/pgalloc.h b/include/asm-x86_64/pgalloc.h index 43d4c333a8b1..4e28b6060a5e 100644 --- a/include/asm-x86_64/pgalloc.h +++ b/include/asm-x86_64/pgalloc.h @@ -18,11 +18,6 @@ static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *p set_pmd(pmd, __pmd(_PAGE_TABLE | (page_to_pfn(pte) << PAGE_SHIFT))); } -static inline pmd_t *get_pmd(void) -{ - return (pmd_t *)get_zeroed_page(GFP_KERNEL); -} - static inline void pmd_free(pmd_t *pmd) { BUG_ON((unsigned long)pmd & (PAGE_SIZE-1));