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.