diff options
author | Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 2009-01-15 22:51:20 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-16 01:39:40 +0100 |
commit | 5da7f3d71e243ef5c464967581414d29c72bab75 (patch) | |
tree | 9f00baa0ab400b21bbe7dd27b0f35a5744402887 /arch/alpha/mm/init.c | |
parent | alpha: .gitignore vmlinux.lds (diff) | |
download | linux-5da7f3d71e243ef5c464967581414d29c72bab75.tar.xz linux-5da7f3d71e243ef5c464967581414d29c72bab75.zip |
alpha: make pte_alloc_one_kernel() inline
As it's just a single call to __get_free_page().
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | arch/alpha/mm/init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c index 234e42b8ee74..5d7a16eab312 100644 --- a/arch/alpha/mm/init.c +++ b/arch/alpha/mm/init.c @@ -59,13 +59,6 @@ pgd_alloc(struct mm_struct *mm) return ret; } -pte_t * -pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) -{ - pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); - return pte; -} - /* * BAD_PAGE is the page that is used for page faults when linux |