diff options
Diffstat (limited to 'kernel/sched/topology.c')
| -rw-r--r-- | kernel/sched/topology.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index a6994a1fcc90..76504b776d03 100644 --- a/kernel/sched/topology.c +++ b/kernel/sched/topology.c @@ -285,7 +285,7 @@ void rebuild_sched_domains_energy(void)  }  #ifdef CONFIG_PROC_SYSCTL -static int sched_energy_aware_handler(struct ctl_table *table, int write, +static int sched_energy_aware_handler(const struct ctl_table *table, int write,  		void *buffer, size_t *lenp, loff_t *ppos)  {  	int ret, state; @@ -501,7 +501,7 @@ void rq_attach_root(struct rq *rq, struct root_domain *rd)  		cpumask_clear_cpu(rq->cpu, old_rd->span);  		/* -		 * If we dont want to free the old_rd yet then +		 * If we don't want to free the old_rd yet then  		 * set old_rd to NULL to skip the freeing later  		 * in this function:  		 */ @@ -1176,7 +1176,7 @@ fail:   * uniquely identify each group (for a given domain):   *   *  - The first is the balance_cpu (see should_we_balance() and the - *    load-balance blub in fair.c); for each group we only want 1 CPU to + *    load-balance blurb in fair.c); for each group we only want 1 CPU to   *    continue balancing at a higher domain.   *   *  - The second is the sched_group_capacity; we want all identical groups @@ -1388,7 +1388,7 @@ static inline void asym_cpu_capacity_update_data(int cpu)  	/*  	 * Search if capacity already exits. If not, track which the entry -	 * where we should insert to keep the list ordered descendingly. +	 * where we should insert to keep the list ordered descending.  	 */  	list_for_each_entry(entry, &asym_cap_list, link) {  		if (capacity == entry->capacity) @@ -1853,7 +1853,7 @@ void sched_init_numa(int offline_node)  	struct cpumask ***masks;  	/* -	 * O(nr_nodes^2) deduplicating selection sort -- in order to find the +	 * O(nr_nodes^2) de-duplicating selection sort -- in order to find the  	 * unique distances in the node_distance() table.  	 */  	distance_map = bitmap_alloc(NR_DISTANCE_VALUES, GFP_KERNEL); @@ -2750,7 +2750,7 @@ match2:  	}  #if defined(CONFIG_ENERGY_MODEL) && defined(CONFIG_CPU_FREQ_GOV_SCHEDUTIL) -	/* Build perf. domains: */ +	/* Build perf domains: */  	for (i = 0; i < ndoms_new; i++) {  		for (j = 0; j < n && !sched_energy_update; j++) {  			if (cpumask_equal(doms_new[i], doms_cur[j]) && @@ -2759,7 +2759,7 @@ match2:  				goto match3;  			}  		} -		/* No match - add perf. domains for a new rd */ +		/* No match - add perf domains for a new rd */  		has_eas |= build_perf_domains(doms_new[i]);  match3:  		; |