summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-01-08 05:17:28 +0000
committerjake <jake@FreeBSD.org>2002-01-08 05:17:28 +0000
commit0d87bee2b47cd7fda43f9db63874863c93e21b95 (patch)
tree8b3fcbeabd5d9bd8376122e02a1a6c2a9b0e13e6 /sys
parent0d46a69b72cf6b95101b422f52759a4a767f31c1 (diff)
downloadFreeBSD-src-0d87bee2b47cd7fda43f9db63874863c93e21b95.zip
FreeBSD-src-0d87bee2b47cd7fda43f9db63874863c93e21b95.tar.gz
Remove ATOMIC_INC_INT macro which has moved elsewhere.
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/exception.S11
-rw-r--r--sys/sparc64/sparc64/exception.s11
2 files changed, 0 insertions, 22 deletions
diff --git a/sys/sparc64/sparc64/exception.S b/sys/sparc64/sparc64/exception.S
index d14962b..ce0fcf4 100644
--- a/sys/sparc64/sparc64/exception.S
+++ b/sys/sparc64/sparc64/exception.S
@@ -73,17 +73,6 @@
.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.
*/
#define TTE_SET_BIT(r1, r2, r3, bit) \
diff --git a/sys/sparc64/sparc64/exception.s b/sys/sparc64/sparc64/exception.s
index d14962b..ce0fcf4 100644
--- a/sys/sparc64/sparc64/exception.s
+++ b/sys/sparc64/sparc64/exception.s
@@ -73,17 +73,6 @@
.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.
*/
#define TTE_SET_BIT(r1, r2, r3, bit) \
OpenPOWER on IntegriCloud