We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91ab883 commit 88e77dcCopy full SHA for 88e77dc
include/linux/mutex.h
@@ -66,6 +66,11 @@ struct mutex {
66
#endif
67
};
68
69
+/*
70
+ * Internal helper function; C doesn't allow us to hide it :/
71
+ *
72
+ * DO NOT USE (outside of mutex code).
73
+ */
74
static inline struct task_struct *__mutex_owner(struct mutex *lock)
75
{
76
return (struct task_struct *)(atomic_long_read(&lock->owner) & ~0x07);
0 commit comments