提交 004f4ce9 编写于 作者: R Rusty Russell 提交者: Paul Mundt

arch/sh: remove references to cpu_*_map.

This has been obsolescent for a while; time for the final push.
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 ecfb68c6
...@@ -63,7 +63,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) ...@@ -63,7 +63,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
mp_ops->prepare_cpus(max_cpus); mp_ops->prepare_cpus(max_cpus);
#ifndef CONFIG_HOTPLUG_CPU #ifndef CONFIG_HOTPLUG_CPU
init_cpu_present(&cpu_possible_map); init_cpu_present(cpu_possible_mask);
#endif #endif
} }
......
...@@ -27,7 +27,7 @@ static cpumask_t cpu_coregroup_map(unsigned int cpu) ...@@ -27,7 +27,7 @@ static cpumask_t cpu_coregroup_map(unsigned int cpu)
* Presently all SH-X3 SMP cores are multi-cores, so just keep it * Presently all SH-X3 SMP cores are multi-cores, so just keep it
* simple until we have a method for determining topology.. * simple until we have a method for determining topology..
*/ */
return cpu_possible_map; return *cpu_possible_mask;
} }
const struct cpumask *cpu_coregroup_mask(unsigned int cpu) const struct cpumask *cpu_coregroup_mask(unsigned int cpu)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册