#cpus property

Segher Boessenkool segher at kernel.crashing.org
Tue Feb 27 10:33:05 EST 2007


> Anyone know the origin of the #cpus property that seems to be in most 
> of
> the DTS files.  It seems to be documented nowhere.

It was there in the first DTS file to hit the kernel
source tree.  Probably all others just copied that.

> It's obviously describing how many cpus exist.  However, greping the
> kernel source turns up no references to it.
>
> Is it supposed to be required for all cpus nodes?  Are there plans to
> actually use it?

It is utterly redundant as simply looking at the number
of child nodes of /cpus/ will tell you the same thing.

Well *hopefully* the same thing, heh.


Segher




More information about the Linuxppc-dev mailing list