diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2015-05-26 09:11:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-27 09:22:16 -0400 |
commit | 265ea6248f6df4884c7ab622d3946375701adc54 (patch) | |
tree | e455e545ee8c0b1094b27c4d827c3018c22bb28b /drivers | |
parent | 3280c3c84d003b2dd37a788a4a6225a909c2d3e1 (diff) |
speedstep-ich: Replace cpu_sibling_mask() with topology_sibling_cpumask()
The former duplicates the functionality of the latter but is
neither documented nor arch-independent.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Benoit Cousson <bcousson@baylibre.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Jean Delvare <jdelvare@suse.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1432645896-12588-8-git-send-email-bgolaszewski@baylibre.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/speedstep-ich.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/speedstep-ich.c b/drivers/cpufreq/speedstep-ich.c index e56d632a8b21..37555c6b86a7 100644 --- a/drivers/cpufreq/speedstep-ich.c +++ b/drivers/cpufreq/speedstep-ich.c | |||
@@ -292,7 +292,7 @@ static int speedstep_cpu_init(struct cpufreq_policy *policy) | |||
292 | 292 | ||
293 | /* only run on CPU to be set, or on its sibling */ | 293 | /* only run on CPU to be set, or on its sibling */ |
294 | #ifdef CONFIG_SMP | 294 | #ifdef CONFIG_SMP |
295 | cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu)); | 295 | cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu)); |
296 | #endif | 296 | #endif |
297 | policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); | 297 | policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); |
298 | 298 | ||