]> git.baikalelectronics.ru Git - kernel.git/commit
locking/mutex: Fix mutex debug call and ww_mutex documentation
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 3 Sep 2018 14:07:08 +0000 (16:07 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 10 Sep 2018 08:05:10 +0000 (10:05 +0200)
commit9a3d72ad31544d77e42b64a51a22e37b825e7c11
tree4c82dd4d2969bc7b851b6e125c9e2890b03dbe7d
parent98d8ef8d1216385375417e11a07c1df549521ab0
locking/mutex: Fix mutex debug call and ww_mutex documentation

The following commit:

  6e75b13d7939 ("Implement an algorithm choice for Wound-Wait mutexes")

introduced a reference in the documentation to a function that was
removed in an earlier commit.

It also forgot to remove a call to debug_mutex_add_waiter() which is now
unconditionally called by __mutex_add_waiter().

Fix those bugs.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dri-devel@lists.freedesktop.org
Fixes: 6e75b13d7939 ("Implement an algorithm choice for Wound-Wait mutexes")
Link: http://lkml.kernel.org/r/20180903140708.2401-1-thellstrom@vmware.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/mutex.c