summaryrefslogtreecommitdiff
path: root/sys/src/9/alphapc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
commit72ba3571a3166ca69d28ccebf547675711bd800c (patch)
tree046ea9b3ab0716b977f23ace9fef885ca9492e24 /sys/src/9/alphapc
parent0a2b418535915c6954fa9df575d71fb04171bb34 (diff)
kernel: remove _xinc()/_xdec()
as with the Block refcount changes, _xinc() and _xdec() arent used anymore, so remove them. architecure can still define ainc()/adec() when it needs them.
Diffstat (limited to 'sys/src/9/alphapc')
-rw-r--r--sys/src/9/alphapc/l.s19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/src/9/alphapc/l.s b/sys/src/9/alphapc/l.s
index a5c17c32b..7c6562306 100644
--- a/sys/src/9/alphapc/l.s
+++ b/sys/src/9/alphapc/l.s
@@ -174,25 +174,6 @@ tas1:
tas2:
RET
-TEXT _xdec(SB), $-8
- MOVQ R0, R1 /* p */
-dec1:
- MOVLL (R1), R0 /* *p */
- SUBL $1, R0
- MOVQ R0, R2
- MOVLC R2, (R1) /* --(*p) */
- BEQ R2, dec1 /* write failed, retry */
- RET
-
-TEXT _xinc(SB), $-8
- MOVQ R0, R1 /* p */
-inc1:
- MOVLL (R1), R0 /* *p */
- ADDL $1, R0
- MOVLC R0, (R1) /* (*p)++ */
- BEQ R0, inc1 /* write failed, retry */
- RET
-
TEXT cmpswap(SB), $-8
MOVQ R0, R1 /* p */
MOVL old+4(FP), R2