Commit-ID:  265ea6248f6df4884c7ab622d3946375701adc54
Gitweb:     http://git.kernel.org/tip/265ea6248f6df4884c7ab622d3946375701adc54
Author:     Bartosz Golaszewski <bgolaszew...@baylibre.com>
AuthorDate: Tue, 26 May 2015 15:11:34 +0200
Committer:  Ingo Molnar <mi...@kernel.org>
CommitDate: Wed, 27 May 2015 15:22:16 +0200

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 <bgolaszew...@baylibre.com>
Acked-by: Viresh Kumar <viresh.ku...@linaro.org>
Acked-by: Rafael J. Wysocki <r...@rjwysocki.net>
Cc: Benoit Cousson <bcous...@baylibre.com>
Cc: Catalin Marinas <catalin.mari...@arm.com>
Cc: Fenghua Yu <fenghua...@intel.com>
Cc: Guenter Roeck <li...@roeck-us.net>
Cc: Jean Delvare <jdelv...@suse.de>
Cc: Jonathan Corbet <cor...@lwn.net>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Oleg Drokin <oleg.dro...@intel.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Russell King <li...@arm.linux.org.uk>
Cc: Thomas Gleixner <t...@linutronix.de>
Link: 
http://lkml.kernel.org/r/1432645896-12588-8-git-send-email-bgolaszew...@baylibre.com
Signed-off-by: Ingo Molnar <mi...@kernel.org>
---
 drivers/cpufreq/speedstep-ich.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/speedstep-ich.c b/drivers/cpufreq/speedstep-ich.c
index e56d632..37555c6 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)
 
        /* only run on CPU to be set, or on its sibling */
 #ifdef CONFIG_SMP
-       cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu));
+       cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu));
 #endif
        policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask);
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to