diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-25 00:15:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-25 00:15:21 +0000 |
commit | 192f0e978a2d8defa1507190d5211aaaf32e0d71 (patch) | |
tree | d8995f36288765cf889f96a37685af4dbb094476 /sys/alpha/include | |
parent | 47e32345221132e668b171f96cffeb1522abf6dc (diff) | |
download | FreeBSD-src-192f0e978a2d8defa1507190d5211aaaf32e0d71.zip FreeBSD-src-192f0e978a2d8defa1507190d5211aaaf32e0d71.tar.gz |
Only use 1 set of memory barrier operations with the atomic_*_{acq,rel}_ptr
functions.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r-- | sys/alpha/include/atomic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/alpha/include/atomic.h b/sys/alpha/include/atomic.h index dad33df..1c45993 100644 --- a/sys/alpha/include/atomic.h +++ b/sys/alpha/include/atomic.h @@ -482,7 +482,6 @@ atomic_##NAME##_ptr(volatile void *p, uintptr_t v) \ static __inline void \ atomic_##NAME##_acq_ptr(volatile void *p, uintptr_t v) \ { \ - alpha_mb(); \ atomic_##NAME##_acq_long((volatile u_long *)p, v);\ } \ \ @@ -490,7 +489,6 @@ static __inline void \ atomic_##NAME##_rel_ptr(volatile void *p, uintptr_t v) \ { \ atomic_##NAME##_rel_long((volatile u_long *)p, v);\ - alpha_wmb(); \ } ATOMIC_PTR(set) |