summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-06 23:39:46 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:05 +0100
commitefab81864161f8c546d4403873e7ae7831ed5b26 (patch)
treee7fa6bff5c86691e4e675c81649acb9d5275af4a /mm/page_alloc.c
parentmm: make scan_zone_unevictable_pages() static (diff)
downloadlinux-efab81864161f8c546d4403873e7ae7831ed5b26.tar.xz
linux-efab81864161f8c546d4403873e7ae7831ed5b26.zip
mm: make setup_per_zone_inactive_ratio() static
Sparse output following warning. mm/page_alloc.c:4301:6: warning: symbol 'setup_per_zone_inactive_ratio' 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/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 65133436fe3d..31c512410a99 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4314,7 +4314,7 @@ void setup_per_zone_pages_min(void)
* 1TB 101 10GB
* 10TB 320 32GB
*/
-void setup_per_zone_inactive_ratio(void)
+static void setup_per_zone_inactive_ratio(void)
{
struct zone *zone;