Commit 14b90b22 authored by KOSAKI Motohiro's avatar KOSAKI Motohiro Committed by Linus Torvalds

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: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ff30153b
...@@ -2464,7 +2464,7 @@ void scan_mapping_unevictable_pages(struct address_space *mapping) ...@@ -2464,7 +2464,7 @@ void scan_mapping_unevictable_pages(struct address_space *mapping)
* back onto @zone's unevictable list. * back onto @zone's unevictable list.
*/ */
#define SCAN_UNEVICTABLE_BATCH_SIZE 16UL /* arbitrary lock hold batch size */ #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; struct list_head *l_unevictable = &zone->lru[LRU_UNEVICTABLE].list;
unsigned long scan; unsigned long scan;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment