Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mm/page_cgroup.c: quiet sparse noise

warning: symbol 'swap_cgroup_ctrl' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <>
Cc: Paul Menage <>
Cc: Li Zefan <>
Acked-by: Balbir Singh <>
Cc: Daisuke Nishimura <>
Acked-by: KAMEZAWA Hiroyuki <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
  • Loading branch information...
commit 61600f578fbd2e8ad0c90bddb9c729e7628d3813 1 parent 4799401
H Hartley Sweeten authored torvalds committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mm/page_cgroup.c
2  mm/page_cgroup.c
@@ -360,7 +360,7 @@ struct swap_cgroup_ctrl {
spinlock_t lock;
-struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
+static struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
struct swap_cgroup {
unsigned short id;
Please sign in to comment.
Something went wrong with that request. Please try again.