The patch titled alpha: make pte_alloc_one_kernel() inline has been removed from the -mm tree. Its filename was alpha-make-pte_alloc_one_kernel-inline.patch This patch was dropped because it was merged into mainline or a subsystem tree 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 origin.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