projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98f0dd
)
[PATCH] x86-64: remove get_pmd()
author
Jan Beulich
<jbeulich@novell.com>
Tue, 13 Feb 2007 12:26:23 +0000
(13:26 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:23 +0000
(13:26 +0100)
Function is dead.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/pgalloc.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/pgalloc.h
b/include/asm-x86_64/pgalloc.h
index 43d4c333a8b19a0c9f9a9a5a8bb218638f551a51..4e28b6060a5ed46ee7c033ebeccb9a7f1703f4f5 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));