mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
memcg: mark memcg1_events static const
Mark memcg1_events static: it's only used by memcontrol.c. And mark it const: it's not modified. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Thelen <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Vladimir Davydov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9ccc361716
commit
8dd53fd3b7
1 changed files with 1 additions and 1 deletions
|
|
@ -3083,7 +3083,7 @@ static int memcg_numa_stat_show(struct seq_file *m, void *v)
|
|||
#endif /* CONFIG_NUMA */
|
||||
|
||||
/* Universal VM events cgroup1 shows, original sort order */
|
||||
unsigned int memcg1_events[] = {
|
||||
static const unsigned int memcg1_events[] = {
|
||||
PGPGIN,
|
||||
PGPGOUT,
|
||||
PGFAULT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue