Messages in this thread | | | Date | Wed, 29 May 2013 15:14:12 -0700 | From | Dave Hansen <> | Subject | Re: possible_cpus broken in linux-next |
| |
On 05/29/2013 12:02 PM, Rafael J. Wysocki wrote: >>> diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c >>> index 130ba0b..b9f0eec 100644 >>> --- a/drivers/base/cpu.c >>> +++ b/drivers/base/cpu.c >>> @@ -281,6 +281,7 @@ int __cpuinit register_cpu(struct cpu *cpu, int num) >>> cpu->dev.bus = &cpu_subsys; >>> cpu->dev.release = cpu_device_release; >>> cpu->dev.offline_disabled = !cpu->hotpluggable; >>> + cpu->dev.offline = !cpu_online(num); >>> #ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE >>> cpu->dev.bus->uevent = arch_cpu_uevent; >>> #endif
This gets things working for me again. Thanks for the quick response!
Tested-by: Dave Hansen <dave.hansen@intel.com>
| |