summaryrefslogtreecommitdiffstats
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 148983e21d47..bb76e82398b2 100644
--- a/include/linux/rwsem.h
+++ b/include/linux/rwsem.h
@@ -50,7 +50,7 @@ struct rw_semaphore {
50}; 50};
51 51
52/* 52/*
53 * Setting bit 1 of the owner field but not bit 0 will indicate 53 * Setting all bits of the owner field except bit 0 will indicate
54 * that the rwsem is writer-owned with an unknown owner. 54 * that the rwsem is writer-owned with an unknown owner.
55 */ 55 */
56#define RWSEM_OWNER_UNKNOWN ((struct task_struct *)-2L) 56#define RWSEM_OWNER_UNKNOWN ((struct task_struct *)-2L)