mirror of
https://github.com/schoebel/mars
synced 2025-02-03 13:51:45 +00:00
infra: generally disable irqs during spinlocks
This commit is contained in:
parent
2d7f602a32
commit
17832cd7ea
@ -30,7 +30,7 @@
|
||||
|
||||
# define LOCK_CHECK(OP) 0
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
# define traced_lock(spinlock,flags) spin_lock_irqsave(spinlock,flags)
|
||||
# define traced_unlock(spinlock,flags) spin_unlock_irqrestore(spinlock,flags)
|
||||
# define traced_readlock(spinlock,flags) read_lock_irqsave(spinlock,flags)
|
||||
|
Loading…
Reference in New Issue
Block a user