From patchwork Sat Feb 21 22:21:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuliano Pochini X-Patchwork-Id: 23522 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 7CF85DDED1 for ; Sun, 22 Feb 2009 09:30:01 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org X-Greylist: delayed 367 seconds by postgrey-1.31 at ozlabs; Sun, 22 Feb 2009 09:27:27 EST Received: from smtp-OUT05A.alice.it (smtp-OUT05A.alice.it [85.33.3.5]) by ozlabs.org (Postfix) with ESMTP id D9B14DDDA1 for ; Sun, 22 Feb 2009 09:27:27 +1100 (EST) Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-OUT05A.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sat, 21 Feb 2009 23:16:41 +0100 Received: from FBCMCL01B07.fbc.local ([192.168.171.45]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Sat, 21 Feb 2009 23:21:21 +0100 Received: from Jay ([79.0.122.197]) by FBCMCL01B07.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sat, 21 Feb 2009 23:16:27 +0100 Date: Sat, 21 Feb 2009 23:21:25 +0100 From: Giuliano Pochini To: LinuxPPC-dev Subject: Re: CPU hotplug /sys entries are missing on 2.6.28 [PATCH] Message-Id: <20090221232125.76761b7e.pochini@shiny.it> In-Reply-To: <20090218221821.ca5d29eb.pochini@shiny.it> References: <20090218221821.ca5d29eb.pochini@shiny.it> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.10.14; powerpc-unknown-linux-gnu) Mime-Version: 1.0 X-OriginalArrivalTime: 21 Feb 2009 22:16:28.0062 (UTC) FILETIME=[0A87BBE0:01C99472] X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org On Wed, 18 Feb 2009 22:18:21 +0100 Giuliano Pochini 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 --- Giuliano. --- 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 };