[PATCH 01/11] [POWERPC] Add 'machine: ...' line to common show_cpuinfo()

David Gibson david at gibson.dropbear.id.au
Wed Oct 24 09:23:03 EST 2007


On Wed, Oct 24, 2007 at 01:13:09AM +0200, Marian Balakowicz wrote:
> Print out '/model' property as a machine name in generic
> show_cpuinfo() routine.

There's no such thing as /model; subnodes and properties have a
different namespace, so the root node, /, has a property named
'model'.

Yes, it's clear what you mean in this context, but it's a bad habit to
get into.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list