From: KOSAKI Motohiro Date: Tue, 6 Jan 2009 22:39:45 +0000 (-0800) Subject: mm: make scan_zone_unevictable_pages() static X-Git-Tag: firefly_0821_release~16337 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=14b90b22ec0f359ef4791033ab386b2b627bae07;p=firefly-linux-kernel-4.4.55.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 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;