diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2021-03-26 16:29:33 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-29 15:57:02 +0200 |
commit | 199cacd1a625cfc499d624b98b10dc763062f7dd (patch) | |
tree | 9413aa50ee4ea36bd3044a59725e97c949ff86fb /kernel/locking/rtmutex-debug.h | |
parent | 6d41c675a5394057f6fb1dc97cc0a0e360f2c2f8 (diff) |
locking/rtmutex: Consolidate rt_mutex_init()
rt_mutex_init() only initializes lockdep if CONFIG_DEBUG_RT_MUTEXES is
enabled, which is fine because all lockdep variants select it, but there is
no reason to do so.
Move the function outside of the CONFIG_DEBUG_RT_MUTEXES block which
removes #ifdeffery.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/locking/rtmutex-debug.h')
0 files changed, 0 insertions, 0 deletions