]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
locking/doc: Update references to kernel/mutex.c
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 Nov 2013 07:26:39 +0000 (08:26 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 11 Nov 2013 11:41:33 +0000 (12:41 +0100)
Fix this docbook error:

  >> docproc: kernel/mutex.c: No such file or directory

by updating the stale references to kernel/mutex.c.

Reported-by: fengguang.wu@intel.com
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-34pikw1tlsskj65rrt5iusrq@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/DocBook/kernel-locking.tmpl
Documentation/mutex-design.txt
include/linux/mutex.h
kernel/locking/mutex.c

index 09e884e5b9f53d1ff32bbc785c61dcb6ec5e56e4..19f2a5a5a5b49702777bfde41d27cb5a6482706e 100644 (file)
@@ -1958,7 +1958,7 @@ machines due to caching.
   <chapter id="apiref-mutex">
    <title>Mutex API reference</title>
 !Iinclude/linux/mutex.h
-!Ekernel/mutex.c
+!Ekernel/locking/mutex.c
   </chapter>
 
   <chapter id="apiref-futex">
index 38c10fd7f4110448facd7089b985c4776d264d85..1dfe62c3641d5d9087388c0255f2a9775b520faa 100644 (file)
@@ -116,11 +116,11 @@ using mutexes at the moment, please let me know if you find any. ]
 Implementation of mutexes
 -------------------------
 
-'struct mutex' is the new mutex type, defined in include/linux/mutex.h
-and implemented in kernel/mutex.c. It is a counter-based mutex with a
-spinlock and a wait-list. The counter has 3 states: 1 for "unlocked",
-0 for "locked" and negative numbers (usually -1) for "locked, potential
-waiters queued".
+'struct mutex' is the new mutex type, defined in include/linux/mutex.h and
+implemented in kernel/locking/mutex.c. It is a counter-based mutex with a
+spinlock and a wait-list. The counter has 3 states: 1 for "unlocked", 0 for
+"locked" and negative numbers (usually -1) for "locked, potential waiters
+queued".
 
 the APIs of 'struct mutex' have been streamlined:
 
index bab49da8a0f0b1bd2e01d516fdd0e39a07162326..d3181936c138ba2583960815a722aa8f90938a9d 100644 (file)
@@ -131,7 +131,7 @@ static inline int mutex_is_locked(struct mutex *lock)
 }
 
 /*
- * See kernel/mutex.c for detailed documentation of these APIs.
+ * See kernel/locking/mutex.c for detailed documentation of these APIs.
  * Also see Documentation/mutex-design.txt.
  */
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
index d24105b1b794e635e93509c04e0ac6edb85cc7f5..4dd6e4c219de9316593b61daae8e17cf8dc5d874 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * kernel/mutex.c
+ * kernel/locking/mutex.c
  *
  * Mutexes: blocking mutual exclusion locks
  *