Skip to content

Commit

Permalink
Make __vunmap static
Browse files Browse the repository at this point in the history
__vunmap doesn't seem to be used outside of mm/vmalloc.c, and has
no prototype in any header so let's make it static

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed May 17, 2007
1 parent df652fe commit d55e2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ struct vm_struct *remove_vm_area(void *addr)
return v;
}

void __vunmap(void *addr, int deallocate_pages)
static void __vunmap(void *addr, int deallocate_pages)
{
struct vm_struct *area;

Expand Down

0 comments on commit d55e2ca

Please sign in to comment.