diff options
author | Thomas Gleixner <[email protected]> | 2021-08-15 23:29:28 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-08-17 19:08:49 +0200 |
commit | 026659b9774e4c586baeb457557fcfc4e0ad144b (patch) | |
tree | 5355b9097ba53475d11d1c2de92555d043c9b664 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 31552385f8e9d0869117014bf8e55ba0497e3ec8 (diff) |
locking/local_lock: Add PREEMPT_RT support
On PREEMPT_RT enabled kernels local_lock maps to a per CPU 'sleeping'
spinlock which protects the critical section while staying preemptible. CPU
locality is established by disabling migration.
Provide the necessary types and macros to substitute the non-RT variant.
Co-developed-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions