locking/ww_mutex: Abstract out internal lock accesses

Accessing the internal wait_lock of mutex and rtmutex is slightly
different. Provide helper functions for that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211304.734635961@linutronix.de
This commit is contained in:
Thomas Gleixner 2021-08-15 23:28:52 +02:00 • committed by Ingo Molnar
commit 653a5b0bd9
2 changed files with 28 additions and 8 deletions