summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-06 23:39:44 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:04 +0100
commitff30153bf9647c8646538810d4c01015a5e44787 (patch)
tree8f423cd925332660c3d46b6b987a7fac6794073f
parentmm: make mem_cgroup_resize_limit() static (diff)
downloadlinux-ff30153bf9647c8646538810d4c01015a5e44787.tar.xz
linux-ff30153bf9647c8646538810d4c01015a5e44787.zip
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>
-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;