diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2015-05-26 09:11:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-27 09:22:15 -0400 |
commit | 06931e62246844c73fba24d7aeb4a5dc897a2739 (patch) | |
tree | 7c2be9a70a7da591739116049b14bebab8fb0a9b /include/linux/topology.h | |
parent | 0fb0328d3458ff2d6ffbb280b75053c99a8a4b1f (diff) |
sched/topology: Rename topology_thread_cpumask() to topology_sibling_cpumask()
Rename topology_thread_cpumask() to topology_sibling_cpumask()
for more consistency with scheduler code.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Benoit Cousson <bcousson@baylibre.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: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Link: http://lkml.kernel.org/r/1432645896-12588-2-git-send-email-bgolaszewski@baylibre.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r-- | include/linux/topology.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h index 909b6e43b694..73ddad1e0fa3 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h | |||
@@ -191,8 +191,8 @@ static inline int cpu_to_mem(int cpu) | |||
191 | #ifndef topology_core_id | 191 | #ifndef topology_core_id |
192 | #define topology_core_id(cpu) ((void)(cpu), 0) | 192 | #define topology_core_id(cpu) ((void)(cpu), 0) |
193 | #endif | 193 | #endif |
194 | #ifndef topology_thread_cpumask | 194 | #ifndef topology_sibling_cpumask |
195 | #define topology_thread_cpumask(cpu) cpumask_of(cpu) | 195 | #define topology_sibling_cpumask(cpu) cpumask_of(cpu) |
196 | #endif | 196 | #endif |
197 | #ifndef topology_core_cpumask | 197 | #ifndef topology_core_cpumask |
198 | #define topology_core_cpumask(cpu) cpumask_of(cpu) | 198 | #define topology_core_cpumask(cpu) cpumask_of(cpu) |
@@ -201,7 +201,7 @@ static inline int cpu_to_mem(int cpu) | |||
201 | #ifdef CONFIG_SCHED_SMT | 201 | #ifdef CONFIG_SCHED_SMT |
202 | static inline const struct cpumask *cpu_smt_mask(int cpu) | 202 | static inline const struct cpumask *cpu_smt_mask(int cpu) |
203 | { | 203 | { |
204 | return topology_thread_cpumask(cpu); | 204 | return topology_sibling_cpumask(cpu); |
205 | } | 205 | } |
206 | #endif | 206 | #endif |
207 | 207 | ||