Skip to content

Commit

Permalink
[PATCH] x86-64: remove get_pmd()
Browse files Browse the repository at this point in the history
Function is dead.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Jan Beulich authored and Andi Kleen committed Feb 13, 2007
1 parent a98f0dd commit 930f8b8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/asm-x86_64/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 930f8b8

Please sign in to comment.