diff options
author | Cyan Yang <[email protected]> | 2024-09-20 00:01:26 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-10-20 12:10:44 -0400 |
commit | 3ec4350d4efb5ccb6bd0e11d9cf7f2be4f47297d (patch) | |
tree | bdcedbe7b4fa803978e777333e80592ef797146c /tools/perf/util/trace-event-scripting.c | |
parent | 773cca183440e74690dbb4f3f54bc7748f255821 (diff) |
RISCV: KVM: use raw_spinlock for critical section in imsic
For the external interrupt updating procedure in imsic, there was a
spinlock to protect it already. But since it should not be preempted in
any cases, we should turn to use raw_spinlock to prevent any preemption
in case PREEMPT_RT was enabled.
Signed-off-by: Cyan Yang <[email protected]>
Reviewed-by: Yong-Xuan Wang <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions