locking/rtmutex: Provide rt_mutex_slowlock_locked()
authorThomas Gleixner <tglx@linutronix.de>
Sun, 15 Aug 2021 21:28:00 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 15:04:09 +0000 (17:04 +0200)
commitebbdc41e90ffce8b6bb3cbba1801ede2dd07a89b
treeddcf781db71ee45834f3fdd0d3b6b9f609e10b1a
parent830e6acc8a1cafe153a0d88f9b2455965b396131
locking/rtmutex: Provide rt_mutex_slowlock_locked()

Split the inner workings of rt_mutex_slowlock() out into a separate
function, which can be reused by the upcoming RT lock substitutions,
e.g. for rw_semaphores.

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/20210815211302.841971086@linutronix.de
kernel/locking/rtmutex.c
kernel/locking/rtmutex_api.c