aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/mutex.c b/kernel/mutex.c
index 3aad0b7992f4..43a50c18701a 100644
--- a/kernel/mutex.c
+++ b/kernel/mutex.c
@@ -313,7 +313,7 @@ static inline int __mutex_trylock_slowpath(atomic_t *lock_count)
313 * This function must not be used in interrupt context. The 313 * This function must not be used in interrupt context. The
314 * mutex must be released by the same task that acquired it. 314 * mutex must be released by the same task that acquired it.
315 */ 315 */
316int fastcall mutex_trylock(struct mutex *lock) 316int fastcall __sched mutex_trylock(struct mutex *lock)
317{ 317{
318 return __mutex_fastpath_trylock(&lock->count, 318 return __mutex_fastpath_trylock(&lock->count,
319 __mutex_trylock_slowpath); 319 __mutex_trylock_slowpath);