[SPARC]: Simplify and correct __cpu_find_by()
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 18 Jul 2006 04:49:58 +0000 (21:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 21 Jul 2006 21:18:15 +0000 (14:18 -0700)
By using for_each_node_by_type().

Also, correct a spurioud test in check_cpu_node() on sparc64.
It is only called with nodes that have device_type "cpu".

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found