Commit 22d5368a authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Linus Torvalds

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: default avatarH Hartley Sweeten <>
Cc: Rik van Riel <>
Cc: KOSAKI Motohiro <>
Cc: KAMEZAWA Hiroyuki <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 2d7d3eb2
......@@ -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;
static struct mem_cgroup *swap_token_memcg_from_mm(struct mm_struct *mm)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment