summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2005-04-07 22:04:49 +0000
committercognet <cognet@FreeBSD.org>2005-04-07 22:04:49 +0000
commit6bb6868e16cce899dd3916374ae46919f01ee618 (patch)
tree5d991b7c1334ff343891143b6b9c2d335534a255 /libexec/rtld-elf/arm
parent0d26b3b262e08e8d0f0e69f11584a7883b0627cb (diff)
downloadFreeBSD-src-6bb6868e16cce899dd3916374ae46919f01ee618.zip
FreeBSD-src-6bb6868e16cce899dd3916374ae46919f01ee618.tar.gz
No need to provide atomic_cmpset_32() anymore.
Diffstat (limited to 'libexec/rtld-elf/arm')
-rw-r--r--libexec/rtld-elf/arm/rtld_machdep.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libexec/rtld-elf/arm/rtld_machdep.h b/libexec/rtld-elf/arm/rtld_machdep.h
index 8244e49..dd046a9 100644
--- a/libexec/rtld-elf/arm/rtld_machdep.h
+++ b/libexec/rtld-elf/arm/rtld_machdep.h
@@ -71,16 +71,4 @@ void _rtld_bind_start(void);
extern void *__tls_get_addr(tls_index *ti);
-#ifndef ARM_HAS_ATOMIC_CMPSET_32
-static __inline u_int32_t
-atomic_cmpset_32(volatile u_int32_t *p, u_int32_t cmpval, u_int32_t newval)
-{
-
- if (*p == cmpval) {
- *p = newval;
- return (1);
- }
- return (0);
-}
-#endif
#endif
OpenPOWER on IntegriCloud