Commit f0d8cbc
committed
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]>1 parent f115d2b commit f0d8cbc
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6113 | 6113 | | |
6114 | 6114 | | |
6115 | 6115 | | |
6116 | | - | |
6117 | | - | |
6118 | | - | |
| 6116 | + | |
6119 | 6117 | | |
6120 | 6118 | | |
6121 | | - | |
| 6119 | + | |
6122 | 6120 | | |
6123 | 6121 | | |
6124 | 6122 | | |
6125 | 6123 | | |
6126 | 6124 | | |
6127 | 6125 | | |
6128 | | - | |
6129 | | - | |
6130 | | - | |
6131 | 6126 | | |
6132 | 6127 | | |
6133 | 6128 | | |
| |||
0 commit comments