Skip to content
Commit c2d3bffe authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC]: Simplify and correct __cpu_find_by()



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 2f72ba43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment