Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-14 Thread Giuliano Pochini
On Tue, 13 Mar 2007 09:56:52 + Russell King <[EMAIL PROTECTED]> wrote: > Right, here's the ARM fix which is now in the ARM tree: > [...] The following patch seems to fix the issue (+ minor style fix). I'm not sure it's ok due to my poor knowledge of this code. Signed-off-by: Giuliano Pochi

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Russell King
On Tue, Mar 13, 2007 at 09:40:39AM +, Russell King wrote: > On Tue, Mar 13, 2007 at 10:11:59AM +0100, Heiko Carstens wrote: > > On Tue, Mar 13, 2007 at 10:03:50AM +0100, Heiko Carstens wrote: > > > I was referring to arch/ppc not arch/powerpc. But it seems that arch/ppc > > > doesn't support cp

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Andreas Schwab
Heiko Carstens <[EMAIL PROTECTED]> writes: > On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: >> Giuliano Pochini <[EMAIL PROTECTED]> writes: >> >> > I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with >> > those parts of the kernel. >> >> See arch/powerpc/

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Russell King
On Tue, Mar 13, 2007 at 10:11:59AM +0100, Heiko Carstens wrote: > On Tue, Mar 13, 2007 at 10:03:50AM +0100, Heiko Carstens wrote: > > On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: > > > Giuliano Pochini <[EMAIL PROTECTED]> writes: > > > > > > > I had a look at arch/powerpc/kernel

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Heiko Carstens
On Tue, Mar 13, 2007 at 10:03:50AM +0100, Heiko Carstens wrote: > On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: > > Giuliano Pochini <[EMAIL PROTECTED]> writes: > > > > > I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all > > > with > > > those parts of the k

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-13 Thread Heiko Carstens
On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote: > Giuliano Pochini <[EMAIL PROTECTED]> writes: > > > I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with > > those parts of the kernel. > > See arch/powerpc/kernel/sysfs.c:topology_init. I don't think there i

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Andreas Schwab
Giuliano Pochini <[EMAIL PROTECTED]> writes: > I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with > those parts of the kernel. See arch/powerpc/kernel/sysfs.c:topology_init. I don't think there is anything to do here. You probably don't have CONFIG_HOTPLUG_CPU enabled.

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Giuliano Pochini
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 a

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Heiko Carstens
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

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-11 Thread Lee Revell
On 3/11/07, Giuliano Pochini <[EMAIL PROTECTED]> 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

/sys/devices/system/cpu/cpuX/online are missing

2007-03-11 Thread Giuliano Pochini
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 ar