The patch titled alpha: make pte_alloc_one_kernel() inline has been added to the -mm tree. Its filename is alpha-make-pte_alloc_one_kernel-inline.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: alpha: make pte_alloc_one_kernel() inline From: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> As it's just a single call to __get_free_page(). Signed-off-by: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> Cc: Richard Henderson <rth@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/alpha/include/asm/pgalloc.h | 7 ++++++- arch/alpha/mm/init.c | 7 ------- 2 files changed, 6 insertions(+), 8 deletions(-) diff -puN arch/alpha/include/asm/pgalloc.h~alpha-make-pte_alloc_one_kernel-inline arch/alpha/include/asm/pgalloc.h --- a/arch/alpha/include/asm/pgalloc.h~alpha-make-pte_alloc_one_kernel-inline +++ a/arch/alpha/include/asm/pgalloc.h @@ -50,7 +50,12 @@ pmd_free(struct mm_struct *mm, pmd_t *pm free_page((unsigned long)pmd); } -extern pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long addr); +static inline 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; +} static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) diff -puN arch/alpha/mm/init.c~alpha-make-pte_alloc_one_kernel-inline arch/alpha/mm/init.c --- a/arch/alpha/mm/init.c~alpha-make-pte_alloc_one_kernel-inline +++ a/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 _ Patches currently in -mm which might be from ink@xxxxxxxxxxxxxxxxxxxx are alpha-fix-vmalloc-breakage.patch alpha-fix-vmalloc-breakage-fix.patch alpha-nautilus-fix-compile-failure-with-gcc-43.patch alpha-nautilus-fix-hang-on-boot.patch alpha-fix-rtc-on-marvel.patch alpha-gitignore-vmlinuxlds.patch alpha-make-pte_alloc_one_kernel-inline.patch make-sure-nobodys-leaking-resources.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html