Commit 14b90b22ec0f359ef4791033ab386b2b627bae07
Committed by
Linus Torvalds
1 parent
ff30153bf9
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
mm/vmscan.c
... | ... | @@ -2464,7 +2464,7 @@ |
2464 | 2464 | * back onto @zone's unevictable list. |
2465 | 2465 | */ |
2466 | 2466 | #define SCAN_UNEVICTABLE_BATCH_SIZE 16UL /* arbitrary lock hold batch size */ |
2467 | -void scan_zone_unevictable_pages(struct zone *zone) | |
2467 | +static void scan_zone_unevictable_pages(struct zone *zone) | |
2468 | 2468 | { |
2469 | 2469 | struct list_head *l_unevictable = &zone->lru[LRU_UNEVICTABLE].list; |
2470 | 2470 | unsigned long scan; |