diff options
| author | Biju Das <[email protected]> | 2023-08-15 07:34:45 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-08-22 07:07:52 +0000 |
| commit | d92df6fb812c5c126d1a3a06034bb2f2bb0e585f (patch) | |
| tree | 60534531241698075c7eabb30441b3fa7618e6ed /tools/perf/scripts/python/libxed.py | |
| parent | mfd: rz-mtu3: Reduce critical sections (diff) | |
| download | kernel-d92df6fb812c5c126d1a3a06034bb2f2bb0e585f.tar.gz kernel-d92df6fb812c5c126d1a3a06034bb2f2bb0e585f.zip | |
mfd: rz-mtu3: Replace raw_spin_lock->spin_lock()
As per kernel documentation, use raw_spinlock_t only in real critical core
code, low-level interrupt handling, and places where disabling preemption
or interrupts is required. Here the lock is for concurrent register access
from different drivers, hence spin_lock() is sufficient.
Reported-by: Pavel Machek <[email protected]>
Closes: https://lore.kernel.org/all/ZIL%[email protected]/
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
