Remove ATOMIC_INC_INT macro which has moved elsewhere.

This commit is contained in:
Jake Burkholder 2002-01-08 05:17:28 +00:00
parent cdfe70829c
commit 180ba71605
2 changed files with 0 additions and 22 deletions

View File

@ -72,17 +72,6 @@
.register %g6,#ignore
.register %g7,#ignore
/*
* Atomically increment an integer in memory.
*/
#define ATOMIC_INC_INT(r1, r2, r3) \
lduw [r1], r2 ; \
9: add r2, 1, r3 ; \
casa [r1] ASI_N, r2, r3 ; \
cmp r2, r3 ; \
bne,pn %xcc, 9b ; \
mov r3, r2
/*
* Atomically set the reference bit in a tte.
*/

View File

@ -72,17 +72,6 @@
.register %g6,#ignore
.register %g7,#ignore
/*
* Atomically increment an integer in memory.
*/
#define ATOMIC_INC_INT(r1, r2, r3) \
lduw [r1], r2 ; \
9: add r2, 1, r3 ; \
casa [r1] ASI_N, r2, r3 ; \
cmp r2, r3 ; \
bne,pn %xcc, 9b ; \
mov r3, r2
/*
* Atomically set the reference bit in a tte.
*/