diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2018-12-05 16:43:03 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2018-12-05 16:43:03 +0000 |
commit | f26db6948d5a49459358114afc35e07b4f846594 (patch) | |
tree | 8d471c303b737a8d7711ea3918f2237c8325f72a /sys/contrib/vchiq | |
parent | 52da58896195a574a0a7361148b642859a5e5026 (diff) | |
download | src-f26db6948d5a49459358114afc35e07b4f846594.tar.gz src-f26db6948d5a49459358114afc35e07b4f846594.zip |
sx: retire SX_NOADAPTIVE
The flag is not used by anything for years and supporting it requires an
explicit read from the lock when entering slow path.
Flag value is left unused on purpose.
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=341593
Diffstat (limited to 'sys/contrib/vchiq')
-rw-r--r-- | sys/contrib/vchiq/interface/compat/vchi_bsd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/contrib/vchiq/interface/compat/vchi_bsd.h b/sys/contrib/vchiq/interface/compat/vchi_bsd.h index a02bca452756..e8886e6e9283 100644 --- a/sys/contrib/vchiq/interface/compat/vchi_bsd.h +++ b/sys/contrib/vchiq/interface/compat/vchi_bsd.h @@ -162,10 +162,6 @@ struct mutex { */ typedef struct rwlock rwlock_t; -#if defined(SX_ADAPTIVESPIN) && !defined(SX_NOADAPTIVE) -#define SX_NOADAPTIVE SX_ADAPTIVESPIN -#endif - #define DEFINE_RWLOCK(name) \ struct rwlock name; \ SX_SYSINIT(name, &name, #name) |