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

Andreas Schwab schwab at suse.de
Tue Mar 13 20:44:31 EST 2007


Heiko Carstens <heiko.carstens at de.ibm.com> writes:

> On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote:
>> Giuliano Pochini <pochini at denise.shiny.it> 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.
>
> I was referring to arch/ppc not arch/powerpc.

Sorry, I missed that part.

> But it seems that arch/ppc doesn't support cpu hotplug anyway.

I think if there is no hotplug support then the file should not be created
in the first place.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab at suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Linuxppc-dev mailing list