Merge branch 'linus' into locking/core, to pick up fixes and dependencies
[linux-2.6-microblaze.git] / include / linux / mutex.h
index 9b7fe56..14bc0d5 100644 (file)
@@ -65,6 +65,11 @@ struct mutex {
 #endif
 };
 
+/*
+ * Internal helper function; C doesn't allow us to hide it :/
+ *
+ * DO NOT USE (outside of mutex code).
+ */
 static inline struct task_struct *__mutex_owner(struct mutex *lock)
 {
        return (struct task_struct *)(atomic_long_read(&lock->owner) & ~0x07);