git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] x86-64: remove get_pmd()
[pandora-kernel.git]
/
include
/
asm-x86_64
/
pgalloc.h
diff --git
a/include/asm-x86_64/pgalloc.h
b/include/asm-x86_64/pgalloc.h
index
43d4c33
..
4e28b60
100644
(file)
--- 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));