summaryrefslogtreecommitdiff
path: root/kern/mutex_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex_i.h')
-rw-r--r--kern/mutex_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/mutex_i.h b/kern/mutex_i.h
index 69131cf8..d80cab21 100644
--- a/kern/mutex_i.h
+++ b/kern/mutex_i.h
@@ -29,13 +29,13 @@
#define MUTEX_CONTENDED 2
static inline unsigned int
-mutex_tryacquire(struct mutex *mutex)
+mutex_lock_fast(struct mutex *mutex)
{
return atomic_cas_seq_cst(&mutex->state, MUTEX_UNLOCKED, MUTEX_LOCKED);
}
static inline unsigned int
-mutex_release(struct mutex *mutex)
+mutex_unlock_fast(struct mutex *mutex)
{
unsigned int state;