diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-10-31 17:09:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 17:30:50 -0700 |
commit | 22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef (patch) | |
tree | 9692d1a53240795454d46e8cd7abbd0c7002dfa0 /mm/thrash.c | |
parent | 2d7d3eb2bad116e0d1b3b3930a923c55f6d0f70e (diff) | |
download | linux-22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef.tar.gz linux-22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef.tar.bz2 linux-22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef.zip |
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 <hsweeten@visionengravers.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@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/thrash.c')
-rw-r--r-- | mm/thrash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/thrash.c b/mm/thrash.c index e53f7d02c17c..57ad495dbd54 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) |