diff options
author | Will Deacon <[email protected]> | 2021-08-09 16:24:28 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-08-11 11:39:35 +0100 |
commit | d21292f13f1f0721d60e8122e2db46bea8cf6950 (patch) | |
tree | c3e61017f835146991d86b43e78ecd3988da0f7e /tools/perf/util/trace-event-scripting.c | |
parent | 63db506e07622c344a3c748a1c06293d48780f83 (diff) |
KVM: arm64: Add hyp_spin_is_locked() for basic locking assertions at EL2
Introduce hyp_spin_is_locked() so that functions can easily assert that
a given lock is held (albeit possibly by another CPU!) without having to
drag full lockdep support up to EL2.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions