aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rwsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rwsem.h')
-rw-r--r--include/linux/rwsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h
index 9fdcdd03507d..25cd9aa2f3d7 100644
--- a/include/linux/rwsem.h
+++ b/include/linux/rwsem.h
@@ -69,7 +69,7 @@ static inline int rwsem_is_locked(struct rw_semaphore *sem)
69 __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock), \ 69 __RAW_SPIN_LOCK_UNLOCKED(name.wait_lock), \
70 LIST_HEAD_INIT((name).wait_list), \ 70 LIST_HEAD_INIT((name).wait_list), \
71 NULL, /* owner */ \ 71 NULL, /* owner */ \
72 { ATOMIC_INIT(OSQ_UNLOCKED_VAL) } /* osq */ \ 72 OSQ_LOCK_UNLOCKED /* osq */ \
73 __RWSEM_DEP_MAP_INIT(name) } 73 __RWSEM_DEP_MAP_INIT(name) }
74#else 74#else
75#define __RWSEM_INITIALIZER(name) \ 75#define __RWSEM_INITIALIZER(name) \