projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4799401
)
mm/page_cgroup.c: quiet sparse noise
author
H Hartley Sweeten
<
[email protected]
>
Wed, 2 Nov 2011 20:38:36 +0000
(13:38 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 2 Nov 2011 23:07:00 +0000
(16:07 -0700)
warning: symbol 'swap_cgroup_ctrl' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <
[email protected]
>
Cc: Paul Menage <
[email protected]
>
Cc: Li Zefan <
[email protected]
>
Acked-by: Balbir Singh <
[email protected]
>
Cc: Daisuke Nishimura <
[email protected]
>
Acked-by: KAMEZAWA Hiroyuki <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/page_cgroup.c
patch
|
blob
|
history
diff --git
a/mm/page_cgroup.c
b/mm/page_cgroup.c
index 3749ae15a8c8acb1dfc7a06c08eec3da35d643f1..2d123f94a8df49addd2ee3167d31861073da9f84 100644
(file)
--- a/
mm/page_cgroup.c
+++ b/
mm/page_cgroup.c
@@
-360,7
+360,7
@@
struct swap_cgroup_ctrl {
spinlock_t lock;
};
-struct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
+st
atic st
ruct swap_cgroup_ctrl swap_cgroup_ctrl[MAX_SWAPFILES];
struct swap_cgroup {
unsigned short id;