[SPARC64]: Fix memory controller register access when non-SMP.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 7 Dec 2007 08:58:55 +0000 (00:58 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 7 Dec 2007 09:10:14 +0000 (01:10 -0800)
commitb332b8bc9c67165eabdfc7d10b4a2e4cc9f937d0
treede3ab55f4519918fc77b90765a185973b282993d
parentf194d132e4971111f85c18c96067acffb13cee6d
[SPARC64]: Fix memory controller register access when non-SMP.

get_cpu() always returns zero on non-SMP builds, but we
really want the physical cpu number in this code in order
to do the right thing.

Based upon a non-SMP kernel boot failure report from Bernd Zeimetz.

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