]> git.karo-electronics.de Git - linux-beck.git/commitdiff
p4-clockmod: Replace cpu_sibling_mask() with topology_sibling_cpumask()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 26 May 2015 13:11:32 +0000 (15:11 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 13:22:16 +0000 (15:22 +0200)
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-6-git-send-email-bgolaszewski@baylibre.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/cpufreq/p4-clockmod.c

index 529cfd92158fa6f7e0e9cfb79d88307c83c57ac3..5dd95dab580d1cf30135ff39ce2cfd81d9be9b7f 100644 (file)
@@ -172,7 +172,7 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
        unsigned int i;
 
 #ifdef CONFIG_SMP
-       cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu));
+       cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu));
 #endif
 
        /* Errata workaround */