The patch titled Make map_vm_area() static has been added to the -mm tree. Its filename is make-map_vm_area-static.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Make map_vm_area() static From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> map_vm_area() is only ever used inside of mm/vmalloc.c. This makes it static and removes the prototype. Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Cc: Hugh Dickins <hugh@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/vmalloc.h | 2 -- mm/vmalloc.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff -puN include/linux/vmalloc.h~make-map_vm_area-static include/linux/vmalloc.h --- a/include/linux/vmalloc.h~make-map_vm_area-static +++ a/include/linux/vmalloc.h @@ -66,8 +66,6 @@ extern struct vm_struct *get_vm_area_nod gfp_t gfp_mask); extern struct vm_struct *remove_vm_area(void *addr); -extern int map_vm_area(struct vm_struct *area, pgprot_t prot, - struct page ***pages); extern void unmap_kernel_range(unsigned long addr, unsigned long size); /* Allocate/destroy a 'vmalloc' VM area. */ diff -puN mm/vmalloc.c~make-map_vm_area-static mm/vmalloc.c --- a/mm/vmalloc.c~make-map_vm_area-static +++ a/mm/vmalloc.c @@ -145,7 +145,8 @@ static inline int vmap_pud_range(pgd_t * return 0; } -int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) +static int map_vm_area(struct vm_struct *area, pgprot_t prot, + struct page ***pages) { pgd_t *pgd; unsigned long next; _ Patches currently in -mm which might be from benh@xxxxxxxxxxxxxxxxxxx are origin.patch do-not-select-macintosh-drivers-by-default.patch 8xx-mpc885ads-pcmcia-support.patch dts-kill-hardcoded-phandles.patch git-libata-all.patch rework-ptep_set_access_flags-and-fix-sun4c.patch unmap_vm_area-becomes-unmap_kernel_range-for-the-public.patch make-map_vm_area-static.patch 8xx-fix-whitespace-and-indentation.patch fallocate-implementation-on-i86-x86_64-and-powerpc.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