From 3ca133c4a08b436f4d41331a643ee70bb2e9f08b Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 21 Apr 2018 14:38:54 +0200 Subject: kern/mutex/mutex_adaptive: fix atomic operation calls --- kern/mutex/mutex_adaptive_i.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kern/mutex/mutex_adaptive_i.h b/kern/mutex/mutex_adaptive_i.h index b123251f..e29fdb43 100644 --- a/kern/mutex/mutex_adaptive_i.h +++ b/kern/mutex/mutex_adaptive_i.h @@ -40,7 +40,7 @@ * to be unlocked, potentially spinning on the owner. It forces threads * trying to lock the mutex as well as the owner to take the slow path. */ -#define MUTEX_ADAPTIVE_CONTENDED 0x1 +#define MUTEX_ADAPTIVE_CONTENDED 0x1UL static inline void mutex_adaptive_init(struct mutex *mutex) -- cgit v1.2.3