diff options
Diffstat (limited to 'kernel/include/linux/spinlock.h')
-rw-r--r-- | kernel/include/linux/spinlock.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/include/linux/spinlock.h b/kernel/include/linux/spinlock.h index b241cc044..02928fa54 100644 --- a/kernel/include/linux/spinlock.h +++ b/kernel/include/linux/spinlock.h @@ -355,6 +355,12 @@ static __always_inline void spin_unlock(spinlock_t *lock) raw_spin_unlock(&lock->rlock); } +static __always_inline int spin_unlock_no_deboost(spinlock_t *lock) +{ + raw_spin_unlock(&lock->rlock); + return 0; +} + static __always_inline void spin_unlock_bh(spinlock_t *lock) { raw_spin_unlock_bh(&lock->rlock); |