diff options
| author | Steven Rostedt <[email protected]> | 2025-05-27 18:46:23 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-05-29 12:24:07 +0000 |
| commit | f0d8cbc8ccc6299046ceb5023a2af9e2b75c4106 (patch) | |
| tree | 3085bb717f5f0b6cbd6b127f8778c169a90c871b /rust/helpers/platform.c | |
| parent | ring-buffer: Remove jump to out label in ring_buffer_swap_cpu() (diff) | |
| download | kernel-f0d8cbc8ccc6299046ceb5023a2af9e2b75c4106.tar.gz kernel-f0d8cbc8ccc6299046ceb5023a2af9e2b75c4106.zip | |
ring-buffer: Simplify reset_disabled_cpu_buffer() with use of guard()
Use guard(raw_spinlock_irqsave)() in reset_disabled_cpu_buffer() to
simplify the locking.
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
