[PATCH] powerpc: Kill machine numbers

Segher Boessenkool segher at kernel.crashing.org
Fri Mar 24 23:23:32 EST 2006


> One thing I have been wondering about is what should be the right way
> to check whether we're running on something based on the
> Cell Broadband Engine Architecture, if that is needed somewhere.
> My original idea was to make this the platform number, but this
> seems impractical now.

Just check the PVR?  Either directly, or in the device tree.
It's not likely that there will be a million different CBEA
compliant CPUs any time soon ;-)

There really should be some other OF property in the CPU nodes
that tells us the CPU is CBEA, but I don't think we have one
right now :-(


Segher




More information about the Linuxppc-dev mailing list