infra: generally disable irqs during spinlocks

This commit is contained in:
Thomas Schoebel-Theuer 2017-05-16 10:24:18 +02:00
parent 2d7f602a32
commit 17832cd7ea

View File

@ -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)