summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-07 01:39:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 02:59:04 +0300
commitff30153bf9647c8646538810d4c01015a5e44787 (patch)
tree8f423cd925332660c3d46b6b987a7fac6794073f /mm
parentd38d2a7582012ecf53aac33683ca5c689093cf65 (diff)
downloadlinux-ff30153bf9647c8646538810d4c01015a5e44787.tar.xz
mm: make scan_all_zones_unevictable_pages() static
sparse output following warning. mm/vmscan.c:2549:6: warning: symbol 'scan_all_zones_unevictable_pages' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index da7c3a2304a7..062767d159da 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2506,7 +2506,7 @@ void scan_zone_unevictable_pages(struct zone *zone)
* that has possibly/probably made some previously unevictable pages
* evictable.
*/
-void scan_all_zones_unevictable_pages(void)
+static void scan_all_zones_unevictable_pages(void)
{
struct zone *zone;