diff options
Diffstat (limited to 'include/spl/sys/rwlock.h')
-rw-r--r-- | include/spl/sys/rwlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spl/sys/rwlock.h b/include/spl/sys/rwlock.h index a1c1fd469..408defac2 100644 --- a/include/spl/sys/rwlock.h +++ b/include/spl/sys/rwlock.h @@ -36,7 +36,7 @@ #elif defined(CONFIG_RWSEM_GENERIC_SPINLOCK) #define SPL_RWSEM_SINGLE_READER_VALUE (1) #define SPL_RWSEM_SINGLE_WRITER_VALUE (-1) -#else +#elif defined(RWSEM_ACTIVE_MASK) #define SPL_RWSEM_SINGLE_READER_VALUE (RWSEM_ACTIVE_READ_BIAS) #define SPL_RWSEM_SINGLE_WRITER_VALUE (RWSEM_ACTIVE_WRITE_BIAS) #endif |