sparc32: refactor cpu_idle()
authorSam Ravnborg <sam@ravnborg.org>
Sun, 27 May 2012 21:35:16 +0000 (23:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 May 2012 06:52:52 +0000 (23:52 -0700)
commit3732106a1a565a592966290fbcef322db9933f91
tree928c54373e89fc110299a25c53c806d8f1e39b71
parent805918f80fb11d95e9b117a6faf5a6a7a8339e49
sparc32: refactor cpu_idle()

With the removal of sun4c we can use the same cpu_idle()
implementation on UP and SMP.
This also fix it so we use the same version independent on LEON
enabled or not.

V2: Fixed whitespace issue pointed out by Josip Rodin.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Josip Rodin <joy@entuzijast.net>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Konrad Eisele <konrad@gaisler.com>
arch/sparc/kernel/process_32.c