Browse Source

powerpc/powermac: Hotplug /sys entries are missing

On Wed, 18 Feb 2009 22:18:21 +0100
Giuliano Pochini <pochini@shiny.it> wrote:

Since 2.6.28, /sys/devices/system/cpu/cpu*/online don't exist anymore
on 32-bit PowerMacs due to change in the generic powerpc code.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Giuliano Pochini 16 năm trước cách đây
mục cha
commit
4c4ece3cf8
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      arch/powerpc/platforms/powermac/setup.c

+ 3 - 0
arch/powerpc/platforms/powermac/setup.c

@@ -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
 };