diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-11 11:35:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 19:27:47 -0700 |
commit | 593fc6ea47882e5953f820ab24a8618f20f0a5c0 (patch) | |
tree | a7666bfa1b58d362a2ff03eebdd555c2ffd64188 /arch/sparc/lib/atomic_32.S | |
parent | 306f1231622176d06b1ad2bccc46122dd4e927fa (diff) | |
download | blackbird-op-linux-593fc6ea47882e5953f820ab24a8618f20f0a5c0.tar.gz blackbird-op-linux-593fc6ea47882e5953f820ab24a8618f20f0a5c0.zip |
sparc32: drop sun4c specific ___xchg32 implementation
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/atomic_32.S')
-rw-r--r-- | arch/sparc/lib/atomic_32.S | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/sparc/lib/atomic_32.S b/arch/sparc/lib/atomic_32.S index eb6c7359cbd1..e2a9085bd5be 100644 --- a/arch/sparc/lib/atomic_32.S +++ b/arch/sparc/lib/atomic_32.S @@ -13,26 +13,6 @@ __atomic_begin: #ifndef CONFIG_SMP - .globl ___xchg32_sun4c -___xchg32_sun4c: - rd %psr, %g3 - andcc %g3, PSR_PIL, %g0 - bne 1f - nop - wr %g3, PSR_PIL, %psr - nop; nop; nop -1: - andcc %g3, PSR_PIL, %g0 - ld [%g1], %g7 - bne 1f - st %g2, [%g1] - wr %g3, 0x0, %psr - nop; nop; nop -1: - mov %g7, %g2 - jmpl %o7 + 8, %g0 - mov %g4, %o7 - .globl ___xchg32_sun4md ___xchg32_sun4md: swap [%g1], %g2 |