mm/gup.c: make unnecessarily global vma_permits_fault() static
authorTobias Klauser <tklauser@distanz.ch>
Tue, 13 Dec 2016 00:41:53 +0000 (16:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:07 +0000 (18:55 -0800)
commit771ab4302c592d1de9e6b73f58979e9e5c424f4c
tree166071d647c5a47428004c660fc0c48e31bd6627
parent5f33a0803bbd781de916f5c7448cbbbbc763d911
mm/gup.c: make unnecessarily global vma_permits_fault() static

Make vma_permits_fault() static as it is only used in mm/gup.c

This fixes a sparse warning.

Link: http://lkml.kernel.org/r/20161017122353.31598-1-tklauser@distanz.ch
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/gup.c