diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-01-19 17:21:35 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-01-26 17:10:58 +0300 |
commit | c5cade200ab9a2a3be9e7f32a752c8d86b502ec7 (patch) | |
tree | ad7da0d2ca9318489115f4ad6b1f1461b145d1ff /kernel/locking/rtmutex.c | |
parent | 04b79c55201f02ffd675e1231d731365e335c307 (diff) | |
download | linux-c5cade200ab9a2a3be9e7f32a752c8d86b502ec7.tar.xz |
futex: Provide and use pi_state_update_owner()
Updating pi_state::owner is done at several places with the same
code. Provide a function for it and use that at the obvious places.
This is also a preparation for a bug fix to avoid yet another copy of the
same code or alternatively introducing a completely unpenetratable mess of
gotos.
Originally-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions