Remove ATOMIC_INC_INT macro which has moved elsewhere.
This commit is contained in:
parent
cdfe70829c
commit
180ba71605
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user