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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ozbenh authored and Linus Torvalds committed May 17, 2007

Verified

This commit was signed with the committer’s verified signature.
devinbileck Devin Bileck
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
@@ -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;

0 comments on commit d55e2ca

Please sign in to comment.