mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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 <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
2bc7273b0e
commit
d38d2a7582
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue