Thread (3 messages) 3 messages, 1 author, 2009-02-22

Re: CPU hotplug /sys entries are missing on 2.6.28 [PATCH]

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help