arch/sh: remove references to cpu_*_map.
PATCH 7/12 arch/sh: remove references to cpu_*_map.
From: Rusty Russell <[email protected]>
This has been obsolescent for a while; time for the final push.
Signed-off-by Rusty Russell <[email protected]>
Cc Paul Mundt <[email protected]>
--- arch/sh/kernel/smp.c | 2 +- arch/sh/kernel/topology.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/sh/kernel/smp.c +1 -1
@@ -63,7 +63,7 @@ void __init smp_prepare_cpus(unsigned in mp_ops->prepare_cpus (max_cpus);#ifndef CONFIG_HOTPLUG_CPU -init_cpu_present (&cpu_possible_map); +init_cpu_present (cpu_possible_mask);#endif }
arch/sh/kernel/topology.c +1 -1
@@ -27,7 +27,7 @@ static cpumask_t cpu_coregroup_map(unsig* 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)
Quoted 8 lines · Rusty Russell
From: Rusty Russell <[email protected]>
This has been obsolescent for a while; time for the final push.
Signed-off-by Rusty Russell <[email protected]>Cc Paul Mundt <[email protected]>---
Reviewed-by Srivatsa S. Bhat <[email protected]>
Regards,
Srivatsa S. Bhat
Paul Mundt
AppliedQuoted 7 lines · Rusty Russell
From: Rusty Russell <[email protected]>
This has been obsolescent for a while; time for the final push.
Signed-off-by Rusty Russell <[email protected]>Cc Paul Mundt <[email protected]>
Applied, thanks.