aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index efa686eeff26..b52ed1ada0be 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -780,7 +780,7 @@ struct root_domain {
780 * NULL-terminated list of performance domains intersecting with the 780 * NULL-terminated list of performance domains intersecting with the
781 * CPUs of the rd. Protected by RCU. 781 * CPUs of the rd. Protected by RCU.
782 */ 782 */
783 struct perf_domain *pd; 783 struct perf_domain __rcu *pd;
784}; 784};
785 785
786extern struct root_domain def_root_domain; 786extern struct root_domain def_root_domain;
@@ -869,8 +869,8 @@ struct rq {
869 atomic_t nr_iowait; 869 atomic_t nr_iowait;
870 870
871#ifdef CONFIG_SMP 871#ifdef CONFIG_SMP
872 struct root_domain *rd; 872 struct root_domain *rd;
873 struct sched_domain *sd; 873 struct sched_domain __rcu *sd;
874 874
875 unsigned long cpu_capacity; 875 unsigned long cpu_capacity;
876 unsigned long cpu_capacity_orig; 876 unsigned long cpu_capacity_orig;
@@ -1324,13 +1324,13 @@ static inline struct sched_domain *lowest_flag_domain(int cpu, int flag)
1324 return sd; 1324 return sd;
1325} 1325}
1326 1326
1327DECLARE_PER_CPU(struct sched_domain *, sd_llc); 1327DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);
1328DECLARE_PER_CPU(int, sd_llc_size); 1328DECLARE_PER_CPU(int, sd_llc_size);
1329DECLARE_PER_CPU(int, sd_llc_id); 1329DECLARE_PER_CPU(int, sd_llc_id);
1330DECLARE_PER_CPU(struct sched_domain_shared *, sd_llc_shared); 1330DECLARE_PER_CPU(struct sched_domain_shared __rcu *, sd_llc_shared);
1331DECLARE_PER_CPU(struct sched_domain *, sd_numa); 1331DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa);
1332DECLARE_PER_CPU(struct sched_domain *, sd_asym_packing); 1332DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing);
1333DECLARE_PER_CPU(struct sched_domain *, sd_asym_cpucapacity); 1333DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);
1334extern struct static_key_false sched_asym_cpucapacity; 1334extern struct static_key_false sched_asym_cpucapacity;
1335 1335
1336struct sched_group_capacity { 1336struct sched_group_capacity {
@@ -2185,7 +2185,7 @@ static inline u64 irq_time_read(int cpu)
2185#endif /* CONFIG_IRQ_TIME_ACCOUNTING */ 2185#endif /* CONFIG_IRQ_TIME_ACCOUNTING */
2186 2186
2187#ifdef CONFIG_CPU_FREQ 2187#ifdef CONFIG_CPU_FREQ
2188DECLARE_PER_CPU(struct update_util_data *, cpufreq_update_util_data); 2188DECLARE_PER_CPU(struct update_util_data __rcu *, cpufreq_update_util_data);
2189 2189
2190/** 2190/**
2191 * cpufreq_update_util - Take a note about CPU utilization changes. 2191 * cpufreq_update_util - Take a note about CPU utilization changes.