From: KOSAKI Motohiro Date: Tue, 6 Jan 2009 22:39:44 +0000 (-0800) Subject: mm: make mem_cgroup_resize_limit() static X-Git-Tag: MMI-PSA29.97-13-9~30332 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d38d2a7582012ecf53aac33683ca5c689093cf65;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mm: make mem_cgroup_resize_limit() static Sparse output following warnings. mm/memcontrol.c:782:5: warning: symbol 'mem_cgroup_resize_limit' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 866dcc7eeb0c..51ee96545579 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -779,7 +779,8 @@ int mem_cgroup_shrink_usage(struct mm_struct *mm, gfp_t gfp_mask) return 0; } -int mem_cgroup_resize_limit(struct mem_cgroup *memcg, unsigned long long val) +static int mem_cgroup_resize_limit(struct mem_cgroup *memcg, + unsigned long long val) { int retry_count = MEM_CGROUP_RECLAIM_RETRIES;