[SPARC64]: Fetch cpu mid properly on sun4v.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 10 Feb 2006 04:46:22 +0000 (20:46 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:09 +0000 (01:12 -0800)
commit4cce4b7cc56abc3d7b269d09224b8297aad15138
tree69e0f38ef8e9be4328d0098dee1a86a665f8dad7
parent5fe91cf6254c8f23d90efb5fc11fff57dd5ab8dd
[SPARC64]: Fetch cpu mid properly on sun4v.

If there is a "cpuid" property, use that.  Else suck
it out of the top bits of the "reg" property.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/devices.c