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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h
index dfa34d803439..56707d5ff6ad 100644
--- a/include/linux/rwsem.h
+++ b/include/linux/rwsem.h
@@ -112,6 +112,7 @@ static inline int rwsem_is_contended(struct rw_semaphore *sem)
112 * lock for reading 112 * lock for reading
113 */ 113 */
114extern void down_read(struct rw_semaphore *sem); 114extern void down_read(struct rw_semaphore *sem);
115extern int __must_check down_read_killable(struct rw_semaphore *sem);
115 116
116/* 117/*
117 * trylock for reading -- returns 1 if successful, 0 if contention 118 * trylock for reading -- returns 1 if successful, 0 if contention