diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-02-15 15:28:04 +1030 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-02-24 13:21:45 +0900 |
commit | 004f4ce9f3d50044e9542aac466e44fa3ef0258f (patch) | |
tree | f6db2ccbb4aa03c810accd168807de755857564c /arch/sh | |
parent | ecfb68c673dc71579b53a46fa22168e7a11f2f19 (diff) | |
download | op-kernel-dev-004f4ce9f3d50044e9542aac466e44fa3ef0258f.zip op-kernel-dev-004f4ce9f3d50044e9542aac466e44fa3ef0258f.tar.gz |
arch/sh: remove references to cpu_*_map.
This has been obsolescent for a while; time for the final push.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/topology.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 3147a9a..f624174 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c @@ -63,7 +63,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) mp_ops->prepare_cpus(max_cpus); #ifndef CONFIG_HOTPLUG_CPU - init_cpu_present(&cpu_possible_map); + init_cpu_present(cpu_possible_mask); #endif } diff --git a/arch/sh/kernel/topology.c b/arch/sh/kernel/topology.c index 4649a6f..772caff 100644 --- a/arch/sh/kernel/topology.c +++ b/arch/sh/kernel/topology.c @@ -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 * 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) |