diff options
author | jhb <jhb@FreeBSD.org> | 2001-01-14 09:56:35 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-01-14 09:56:35 +0000 |
commit | 8fe01fc4afb83506d3a0352a71fb101167aa2bf2 (patch) | |
tree | f9d198b8bb3b4d1fa20ebe4c500973af81d48939 /sys | |
parent | 7fa2e618323810ab15555badb802f18dee979944 (diff) | |
download | FreeBSD-src-8fe01fc4afb83506d3a0352a71fb101167aa2bf2.zip FreeBSD-src-8fe01fc4afb83506d3a0352a71fb101167aa2bf2.tar.gz |
Revert the previous revision now that atomic_store_rel_ptr() actually
works.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/include/mutex.h | 4 | ||||
-rw-r--r-- | sys/i386/include/mutex.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/include/mutex.h b/sys/amd64/include/mutex.h index 48a2a84..95d117a 100644 --- a/sys/amd64/include/mutex.h +++ b/sys/amd64/include/mutex.h @@ -62,10 +62,6 @@ extern char STR_SIEN[]; #define mtx_legal2block() (read_eflags() & PSL_I) -/* Actually release mtx_lock quickly assuming that we own it */ -#define _release_lock_quick(mp) \ - atomic_cmpset_rel_int(&(mp)->mtx_lock, (mp)->mtx_lock, MTX_UNOWNED) - /* * Assembly macros (for internal use only) *------------------------------------------------------------------------------ diff --git a/sys/i386/include/mutex.h b/sys/i386/include/mutex.h index 48a2a84..95d117a 100644 --- a/sys/i386/include/mutex.h +++ b/sys/i386/include/mutex.h @@ -62,10 +62,6 @@ extern char STR_SIEN[]; #define mtx_legal2block() (read_eflags() & PSL_I) -/* Actually release mtx_lock quickly assuming that we own it */ -#define _release_lock_quick(mp) \ - atomic_cmpset_rel_int(&(mp)->mtx_lock, (mp)->mtx_lock, MTX_UNOWNED) - /* * Assembly macros (for internal use only) *------------------------------------------------------------------------------ |