summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-06 23:39:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:04 +0100
commit14b90b22ec0f359ef4791033ab386b2b627bae07 (patch)
treeaa8bf58d54743b914b1d539b05541e6f2a8a68a9 /mm
parentmm: make scan_all_zones_unevictable_pages() static (diff)
downloadlinux-14b90b22ec0f359ef4791033ab386b2b627bae07.tar.xz
linux-14b90b22ec0f359ef4791033ab386b2b627bae07.zip
mm: make scan_zone_unevictable_pages() static
sparse output following warning mm/vmscan.c:2507:6: warning: symbol 'scan_zone_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 062767d159da..1ef5a2eeb298 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2464,7 +2464,7 @@ void scan_mapping_unevictable_pages(struct address_space *mapping)
* back onto @zone's unevictable list.
*/
#define SCAN_UNEVICTABLE_BATCH_SIZE 16UL /* arbitrary lock hold batch size */
-void scan_zone_unevictable_pages(struct zone *zone)
+static void scan_zone_unevictable_pages(struct zone *zone)
{
struct list_head *l_unevictable = &zone->lru[LRU_UNEVICTABLE].list;
unsigned long scan;