Re: possible_cpus broken in linux-next

From: Dave Hansen
Date: Wed May 29 2013 - 18:14:22 EST


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@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/