aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-11 07:35:07 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-11 22:27:47 -0400
commit593fc6ea47882e5953f820ab24a8618f20f0a5c0 (patch)
treea7666bfa1b58d362a2ff03eebdd555c2ffd64188 /arch/sparc/lib
parent306f1231622176d06b1ad2bccc46122dd4e927fa (diff)
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')
-rw-r--r--arch/sparc/lib/atomic_32.S20
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 @@
13__atomic_begin: 13__atomic_begin:
14 14
15#ifndef CONFIG_SMP 15#ifndef CONFIG_SMP
16 .globl ___xchg32_sun4c
17___xchg32_sun4c:
18 rd %psr, %g3
19 andcc %g3, PSR_PIL, %g0
20 bne 1f
21 nop
22 wr %g3, PSR_PIL, %psr
23 nop; nop; nop
241:
25 andcc %g3, PSR_PIL, %g0
26 ld [%g1], %g7
27 bne 1f
28 st %g2, [%g1]
29 wr %g3, 0x0, %psr
30 nop; nop; nop
311:
32 mov %g7, %g2
33 jmpl %o7 + 8, %g0
34 mov %g4, %o7
35
36 .globl ___xchg32_sun4md 16 .globl ___xchg32_sun4md
37___xchg32_sun4md: 17___xchg32_sun4md:
38 swap [%g1], %g2 18 swap [%g1], %g2