diff options
author | Thomas Richter <tmricht@linux.ibm.com> | 2023-01-24 12:20:50 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-25 20:51:09 +0100 |
commit | 1ce357cb825f184519cf1d3c2b01581a0b97663c (patch) | |
tree | c3190e3d119ab556633f5be843f014969ac508e6 /arch/arm64/crypto/aes-ce-glue.c | |
parent | 7a725b770271deba6c288d075abc8dc9d5aa61d0 (diff) |
s390/cpum_cf: simplify hw_perf_event_destroy()
To remove an event from the CPU Measurement counter facility
use the lock/unlock scheme as done in event creation. Remove
the atomic_add_unless function to make the code easier.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/arm64/crypto/aes-ce-glue.c')
0 files changed, 0 insertions, 0 deletions