summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/locallock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/locallock.h')
-rw-r--r--kernel/include/linux/locallock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/include/linux/locallock.h b/kernel/include/linux/locallock.h
index 339ba00ad..6fe5928fc 100644
--- a/kernel/include/linux/locallock.h
+++ b/kernel/include/linux/locallock.h
@@ -43,9 +43,9 @@ struct local_irq_lock {
* for CONFIG_PREEMPT_BASE map to the normal spin_* calls.
*/
#ifdef CONFIG_PREEMPT_RT_FULL
-# define spin_lock_local(lock) rt_spin_lock(lock)
-# define spin_trylock_local(lock) rt_spin_trylock(lock)
-# define spin_unlock_local(lock) rt_spin_unlock(lock)
+# define spin_lock_local(lock) rt_spin_lock__no_mg(lock)
+# define spin_trylock_local(lock) rt_spin_trylock__no_mg(lock)
+# define spin_unlock_local(lock) rt_spin_unlock__no_mg(lock)
#else
# define spin_lock_local(lock) spin_lock(lock)
# define spin_trylock_local(lock) spin_trylock(lock)