Documentation: Add nested versions of mutex locks to docs
authorRobert P. J. Day <rpjday@mindspring.com>
Fri, 19 Oct 2007 22:15:26 +0000 (00:15 +0200)
committerAdrian Bunk <bunk@kernel.org>
Fri, 19 Oct 2007 22:15:26 +0000 (00:15 +0200)
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Documentation/mutex-design.txt

index 51f9351..aa60d1f 100644 (file)
@@ -133,4 +133,6 @@ the APIs of 'struct mutex' have been streamlined:
  int  mutex_trylock(struct mutex *lock);
  void mutex_unlock(struct mutex *lock);
  int  mutex_is_locked(struct mutex *lock);
-
+ void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
+ int  mutex_lock_interruptible_nested(struct mutex *lock,
+                                      unsigned int subclass);