From: KOSAKI Motohiro Date: Tue, 6 Jan 2009 22:39:45 +0000 (-0800) Subject: mm: make scan_zone_unevictable_pages() static X-Git-Tag: v2.6.29-rc1~437 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14b90b22ec0f359ef4791033ab386b2b627bae07;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 062767d159d..1ef5a2eeb29 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;