aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 3a8fb30a91b1..978edfd35a96 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1566,7 +1566,7 @@ static unsigned long cpu_avg_load_per_task(int cpu)
1566 1566
1567#ifdef CONFIG_FAIR_GROUP_SCHED 1567#ifdef CONFIG_FAIR_GROUP_SCHED
1568 1568
1569static __read_mostly unsigned long *update_shares_data; 1569static __read_mostly unsigned long __percpu *update_shares_data;
1570 1570
1571static void __set_se_shares(struct sched_entity *se, unsigned long shares); 1571static void __set_se_shares(struct sched_entity *se, unsigned long shares);
1572 1572
@@ -10683,7 +10683,7 @@ struct cgroup_subsys cpu_cgroup_subsys = {
10683struct cpuacct { 10683struct cpuacct {
10684 struct cgroup_subsys_state css; 10684 struct cgroup_subsys_state css;
10685 /* cpuusage holds pointer to a u64-type object on every cpu */ 10685 /* cpuusage holds pointer to a u64-type object on every cpu */
10686 u64 *cpuusage; 10686 u64 __percpu *cpuusage;
10687 struct percpu_counter cpustat[CPUACCT_STAT_NSTATS]; 10687 struct percpu_counter cpustat[CPUACCT_STAT_NSTATS];
10688 struct cpuacct *parent; 10688 struct cpuacct *parent;
10689}; 10689};