diff options
author | Maurizio Lombardi <[email protected]> | 2021-05-31 14:13:26 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-05-31 22:59:13 -0400 |
commit | 515da6f4295c2c42b8c54572cce3d2dd1167c41e (patch) | |
tree | 8eb5167cddd810a04118d9edf4f5edbfc613ed63 /scripts/gdb/linux/timerlist.py | |
parent | 2ef7665dfd88830f15415ba007c7c9a46be7acd8 (diff) |
scsi: target: core: Fix warning on realtime kernels
On realtime kernels, spin_lock_irq*(spinlock_t) do not disable the
interrupts, a call to irqs_disabled() will return false thus firing a
warning in __transport_wait_for_tasks().
Remove the warning and also replace assert_spin_locked() with
lockdep_assert_held()
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Maurizio Lombardi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions