From: H Hartley Sweeten Date: Tue, 1 Nov 2011 00:09:19 +0000 (-0700) Subject: mm/thrash.c: quiet sparse noise X-Git-Tag: v3.2-rc1~108^2~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef;p=platform%2Fkernel%2Flinux-exynos.git mm/thrash.c: quiet sparse noise Quiet the following sparse noise: warning: symbol 'swap_token_memcg' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: Rik van Riel Cc: KOSAKI Motohiro Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/thrash.c b/mm/thrash.c index e53f7d0..57ad495 100644 --- a/mm/thrash.c +++ b/mm/thrash.c @@ -29,7 +29,7 @@ static DEFINE_SPINLOCK(swap_token_lock); struct mm_struct *swap_token_mm; -struct mem_cgroup *swap_token_memcg; +static struct mem_cgroup *swap_token_memcg; #ifdef CONFIG_CGROUP_MEM_RES_CTLR static struct mem_cgroup *swap_token_memcg_from_mm(struct mm_struct *mm)