Commit 66fb8bd2 authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Fix breakage caused by 72486f1f

72486f1f inverted the sense for
enabling hotplug CPU controls without reference to any other
architecture other than i386, ia64 and PowerPC.  This left
everyone else without hotplug CPU control.

Fix ARM for this brain damage.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8b9909de
......@@ -839,8 +839,11 @@ static int __init topology_init(void)
{
int cpu;
for_each_possible_cpu(cpu)
register_cpu(&per_cpu(cpu_data, cpu).cpu, cpu);
for_each_possible_cpu(cpu) {
struct cpuinfo_arm *cpuinfo = &per_cpu(cpu_data, cpu);
cpuinfo->cpu.hotpluggable = 1;
register_cpu(&cpuinfo->cpu, cpu);
}
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment