Messages in this thread | | | Date | Mon, 12 Mar 2007 23:48:21 +0100 (CET) | From | Giuliano Pochini <> | Subject | Re: /sys/devices/system/cpu/cpuX/online are missing |
| |
On Mon, 12 Mar 2007, Heiko Carstens wrote:
> On Sun, Mar 11, 2007 at 10:26:52PM +0100, Giuliano Pochini wrote: >> >> >> Since 2.6.20 /sys/devices/system/cpu/cpuX/online isn't there anymore. The >> directories exist, though. I also tested linux-2.6.21rc3. I had a look at the >> archives and I found nothing about the removal of that file, which is still >> documented in Documentation/cpu-hotplug.txt. I don't know if other >> architectures are affected. >> >> $ uname -a >> Linux Jay 2.6.20 #1 SMP Mon Feb 5 22:42:18 CET 2007 ppc 7455, altivec supported PowerMac3,6 GNU/Linux >> >> No cpusets. CONFIG_HOTPLUG_CPU=y > > Somebody inverted the logic when and if the 'online' attribute for cpu devices > appear. See 72486f1f8f0a2bc828b9d30cf4690cf2dd6807fc. > The fix for s390 is this: 6721f77810dfcb7cbf8e97be6fa43fe2740dd0aa. > Looks like arch/ppc was left out as well.
I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with those parts of the kernel. I'm cc'ing this message to linuxppc-dev.
-- Giuliano. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |