summaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-06 14:39:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 15:59:04 -0800
commitff30153bf9647c8646538810d4c01015a5e44787 (patch)
tree8f423cd925332660c3d46b6b987a7fac6794073f /mm/vmscan.c
parentd38d2a7582012ecf53aac33683ca5c689093cf65 (diff)
downloadop-kernel-dev-ff30153bf9647c8646538810d4c01015a5e44787.zip
op-kernel-dev-ff30153bf9647c8646538810d4c01015a5e44787.tar.gz
mm: make scan_all_zones_unevictable_pages() static
sparse output following warning. mm/vmscan.c:2549:6: warning: symbol 'scan_all_zones_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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index da7c3a2..062767d 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2506,7 +2506,7 @@ void scan_zone_unevictable_pages(struct zone *zone)
* that has possibly/probably made some previously unevictable pages
* evictable.
*/
-void scan_all_zones_unevictable_pages(void)
+static void scan_all_zones_unevictable_pages(void)
{
struct zone *zone;
OpenPOWER on IntegriCloud