diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 11:59:37 +0200 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 14:20:42 +0200 | 
| commit | dbb6be6d5e974c42bbecd183effaa0df69e1dd8b (patch) | |
| tree | 5735cb47e70853d057a9881dd0ce44b83e88fa63 /arch/sparc/kernel/us2e_cpufreq.c | |
| parent | 6a867a395558a7f882d041783e4cdea6744ca2bf (diff) | |
| parent | b57f95a38233a2e73b679bea4a5453a1cc2a1cc9 (diff) | |
| download | olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.tar.xz olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.zip  | |
Merge branch 'linus' into timers/core
Reason: Further posix_cpu_timer patches depend on mainline changes
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/sparc/kernel/us2e_cpufreq.c')
| -rw-r--r-- | arch/sparc/kernel/us2e_cpufreq.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/kernel/us2e_cpufreq.c b/arch/sparc/kernel/us2e_cpufreq.c index 791c15138f3..8f982b76c71 100644 --- a/arch/sparc/kernel/us2e_cpufreq.c +++ b/arch/sparc/kernel/us2e_cpufreq.c @@ -238,12 +238,12 @@ static unsigned int us2e_freq_get(unsigned int cpu)  		return 0;  	cpus_allowed = current->cpus_allowed; -	set_cpus_allowed(current, cpumask_of_cpu(cpu)); +	set_cpus_allowed_ptr(current, cpumask_of(cpu));  	clock_tick = sparc64_get_clock_tick(cpu) / 1000;  	estar = read_hbreg(HBIRD_ESTAR_MODE_ADDR); -	set_cpus_allowed(current, cpus_allowed); +	set_cpus_allowed_ptr(current, &cpus_allowed);  	return clock_tick / estar_to_divisor(estar);  } @@ -259,7 +259,7 @@ static void us2e_set_cpu_divider_index(unsigned int cpu, unsigned int index)  		return;  	cpus_allowed = current->cpus_allowed; -	set_cpus_allowed(current, cpumask_of_cpu(cpu)); +	set_cpus_allowed_ptr(current, cpumask_of(cpu));  	new_freq = clock_tick = sparc64_get_clock_tick(cpu) / 1000;  	new_bits = index_to_estar_mode(index); @@ -281,7 +281,7 @@ static void us2e_set_cpu_divider_index(unsigned int cpu, unsigned int index)  	cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); -	set_cpus_allowed(current, cpus_allowed); +	set_cpus_allowed_ptr(current, &cpus_allowed);  }  static int us2e_freq_target(struct cpufreq_policy *policy,  |