From b9049efa02931a955504f0c2b2b477d962f532ca Mon Sep 17 00:00:00 2001 From: Hosung Kim Date: Wed, 30 May 2018 10:53:47 +0900 Subject: [PATCH] [COMMON] lib: dss: move spin_unlock logging spin_lock / spin_unlock functions are logged by DSS, others logging is protected atomics by irq_disable. So this logging is protected atomics by spinlock inside. Change-Id: I0ee6544e325e0b8abad31c7e5f8696aeb21ebb31 Signed-off-by: Hosung Kim --- include/linux/spinlock_api_smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/spinlock_api_smp.h b/include/linux/spinlock_api_smp.h index edcc2330db10..b110f1998952 100644 --- a/include/linux/spinlock_api_smp.h +++ b/include/linux/spinlock_api_smp.h @@ -154,8 +154,8 @@ static inline void __raw_spin_lock(raw_spinlock_t *lock) static inline void __raw_spin_unlock(raw_spinlock_t *lock) { spin_release(&lock->dep_map, 1, _RET_IP_); - do_raw_spin_unlock(lock); dbg_snapshot_spinlock(lock, 3); + do_raw_spin_unlock(lock); preempt_enable(); } -- 2.20.1