Re: CPU hotplug /sys entries are missing on 2.6.28 [PATCH]
From: Giuliano Pochini <hidden>
Date: 2009-02-21 22:27:27
From: Giuliano Pochini <hidden>
Date: 2009-02-21 22:27:27
On Wed, 18 Feb 2009 22:18:21 +0100 Giuliano Pochini [off-list ref] wrote:
/sys/devices/system/cpu/cpu*/online don't exist anymore.
I think I found the bug. Is this patch ok ? Signed-off-by: Giuliano Pochini <redacted>
--- linux-2.6.29-rc5/arch/powerpc/platforms/powermac/setup.c__orig 2009-02-14 00:31:30.000000000 +0100
+++ linux-2.6.29-rc5/arch/powerpc/platforms/powermac/setup.c 2009-02-21 22:44:14.000000000 +0100@@ -746,4 +746,7 @@ define_machine(powermac) { #if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PPC64) .cpu_die = pmac_cpu_die, #endif +#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_PPC32) + .cpu_die = generic_mach_cpu_die, +#endif }; --
Giuliano.