diff options
Diffstat (limited to 'kernel/sched/sched.h')
| -rw-r--r-- | kernel/sched/sched.h | 18 | 
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 {  	 * NULL-terminated list of performance domains intersecting with the  	 * CPUs of the rd. Protected by RCU.  	 */ -	struct perf_domain	*pd; +	struct perf_domain __rcu *pd;  };  extern struct root_domain def_root_domain; @@ -869,8 +869,8 @@ struct rq {  	atomic_t		nr_iowait;  #ifdef CONFIG_SMP -	struct root_domain	*rd; -	struct sched_domain	*sd; +	struct root_domain		*rd; +	struct sched_domain __rcu	*sd;  	unsigned long		cpu_capacity;  	unsigned long		cpu_capacity_orig; @@ -1324,13 +1324,13 @@ static inline struct sched_domain *lowest_flag_domain(int cpu, int flag)  	return sd;  } -DECLARE_PER_CPU(struct sched_domain *, sd_llc); +DECLARE_PER_CPU(struct sched_domain __rcu *, sd_llc);  DECLARE_PER_CPU(int, sd_llc_size);  DECLARE_PER_CPU(int, sd_llc_id); -DECLARE_PER_CPU(struct sched_domain_shared *, sd_llc_shared); -DECLARE_PER_CPU(struct sched_domain *, sd_numa); -DECLARE_PER_CPU(struct sched_domain *, sd_asym_packing); -DECLARE_PER_CPU(struct sched_domain *, sd_asym_cpucapacity); +DECLARE_PER_CPU(struct sched_domain_shared __rcu *, sd_llc_shared); +DECLARE_PER_CPU(struct sched_domain __rcu *, sd_numa); +DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_packing); +DECLARE_PER_CPU(struct sched_domain __rcu *, sd_asym_cpucapacity);  extern struct static_key_false sched_asym_cpucapacity;  struct sched_group_capacity { @@ -2185,7 +2185,7 @@ static inline u64 irq_time_read(int cpu)  #endif /* CONFIG_IRQ_TIME_ACCOUNTING */  #ifdef CONFIG_CPU_FREQ -DECLARE_PER_CPU(struct update_util_data *, cpufreq_update_util_data); +DECLARE_PER_CPU(struct update_util_data __rcu *, cpufreq_update_util_data);  /**   * cpufreq_update_util - Take a note about CPU utilization changes.  |