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

From: Andreas Schwab
Date: Tue Mar 13 2007 - 05:45:12 EST


Heiko Carstens <heiko.carstens@xxxxxxxxxx> writes:

> On Tue, Mar 13, 2007 at 01:39:25AM +0100, Andreas Schwab wrote:
>> Giuliano Pochini <pochini@xxxxxxxxxxxxxxx> 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@xxxxxxx
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."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/