Commit f63145cd authored by David Miller's avatar David Miller Committed by Greg Kroah-Hartman
Browse files

SPARC64: Fix memory controller register access when non-SMP.



[SPARC64]: Fix memory controller register access when non-SMP.

[ Upstream commit: b332b8bc ]

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 83f6ef15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment