From: Hosung Kim Date: Wed, 30 May 2018 01:53:47 +0000 (+0900) Subject: [COMMON] lib: dss: move spin_unlock logging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b9049efa02931a955504f0c2b2b477d962f532ca;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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(); }