diff options
| author | Lee Jones <lee.jones@linaro.org> | 2021-02-04 17:28:59 +0000 |
|---|---|---|
| committer | Panwar Vijay Kumar <pvijayku@codeaurora.org> | 2021-09-28 11:02:28 +0530 |
| commit | 079d1c90b3c3989e185cd2d684b08492eda1d490 (patch) | |
| tree | db82fc7b1291d31bcd73f9aecfd8bcf047a39338 /tools/perf/scripts/python | |
| parent | 3b51e24eb17b24da95f2d5a550583ede3e4344a8 (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>
Git-commit: 34c8e1c2c025b8c3eefb43fbcec2699841f0d153
Git-repo: https://android.googlesource.com/kernel/common/
Change-Id: Ic680390868639f992e2f7d6b36191adee7043b5f
Signed-off-by: pvijayku <pvijayku@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
