diff options
| author | Lee Jones <lee.jones@linaro.org> | 2021-02-04 17:28:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-10 09:07:25 +0100 |
| commit | 34c8e1c2c025b8c3eefb43fbcec2699841f0d153 (patch) | |
| tree | b82e97aa318c5e07211a41636a9152efb0b2f8e4 /net/lapb/lapb_out.c | |
| parent | 3edf5f2ad6652c4e3e6c1eaf4d64be7cf516b1b5 (diff) | |
futex: Provide and use pi_state_update_owner()
From: Thomas Gleixner <tglx@linutronix.de>
[ Upstream commit c5cade200ab9a2a3be9e7f32a752c8d86b502ec7 ]
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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
