• Sam Ravnborg's avatar
    sparc32: refactor cpu_idle() · 3732106a
    Sam Ravnborg authored
    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: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Josip Rodin <joy@entuzijast.net>
    Cc: Daniel Hellstrom <daniel@gaisler.com>
    Cc: Konrad Eisele <konrad@gaisler.com>
    3732106a
process_32.c 15.2 KB