diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2021-01-19 15:21:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-30 13:32:12 +0100 |
| commit | 0e1501f7b1eea94991e60cc51fadb3838bb2c7cb (patch) | |
| tree | 9b2892df92a73a9b2ad0ee0c4132d47defab927a /kernel/locking | |
| parent | f03b21494da1ebf4ecfcb34ab647f35dc7fb7d92 (diff) | |
futex: Provide and use pi_state_update_owner()
commit c5cade200ab9a2a3be9e7f32a752c8d86b502ec7 upstream
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions
