diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/topology.c b/arch/i386/kernel/topology.c index 844c08fdb225..79cf608e14ca 100644 --- a/arch/i386/kernel/topology.c +++ b/arch/i386/kernel/topology.c | |||
@@ -44,8 +44,8 @@ int arch_register_cpu(int num) | |||
44 | * Also certain PCI quirks require not to enable hotplug control | 44 | * Also certain PCI quirks require not to enable hotplug control |
45 | * for all CPU's. | 45 | * for all CPU's. |
46 | */ | 46 | */ |
47 | if (!num || !enable_cpu_hotplug) | 47 | if (num && enable_cpu_hotplug) |
48 | cpu_devices[num].cpu.no_control = 1; | 48 | cpu_devices[num].cpu.hotpluggable = 1; |
49 | 49 | ||
50 | return register_cpu(&cpu_devices[num].cpu, num); | 50 | return register_cpu(&cpu_devices[num].cpu, num); |
51 | } | 51 | } |