From 17832cd7ea6981e79b5935f442a7c83d712eab79 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Tue, 16 May 2017 10:24:18 +0200 Subject: [PATCH] infra: generally disable irqs during spinlocks --- kernel/brick_locks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/brick_locks.h b/kernel/brick_locks.h index bcf027e3..c5ff0d01 100644 --- a/kernel/brick_locks.h +++ b/kernel/brick_locks.h @@ -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)