mm/mmap.c: mark function as static
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 3 Apr 2014 21:48:03 +0000 (14:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:02 +0000 (16:21 -0700)
commiteafd4dc4d76a9c6f184cc1de5a7891b7f6f76f2c
tree0a45a3852e6690bd3a35363d5e2d08a0b3dab04c
parentb19a99392a6344e34a82c5e33b9c9d25d0d0fda7
mm/mmap.c: mark function as static

Mark function as static in mmap.c because they are not used outside this
file.

This eliminates the following warning in mm/mmap.c:

  mm/mmap.c:407:6: warning: no previous prototype for `validate_mm' [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c