Skip to content

Commit

Permalink
mm: make mem_cgroup_resize_limit() static
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
kosaki authored and torvalds committed Jan 6, 2009
1 parent 2bc7273 commit d38d2a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d38d2a7

Please sign in to comment.