diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-01-06 17:39:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:04 -0500 |
commit | 14b90b22ec0f359ef4791033ab386b2b627bae07 (patch) | |
tree | aa8bf58d54743b914b1d539b05541e6f2a8a68a9 /mm/vmscan.c | |
parent | ff30153bf9647c8646538810d4c01015a5e44787 (diff) |
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/vmscan.c')
-rw-r--r-- | mm/vmscan.c | 2 |
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) | |||
2464 | * back onto @zone's unevictable list. | 2464 | * back onto @zone's unevictable list. |
2465 | */ | 2465 | */ |
2466 | #define SCAN_UNEVICTABLE_BATCH_SIZE 16UL /* arbitrary lock hold batch size */ | 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 | struct list_head *l_unevictable = &zone->lru[LRU_UNEVICTABLE].list; | 2469 | struct list_head *l_unevictable = &zone->lru[LRU_UNEVICTABLE].list; |
2470 | unsigned long scan; | 2470 | unsigned long scan; |