summaryrefslogtreecommitdiff
path: root/kern/mutex/mutex_adaptive_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex/mutex_adaptive_i.h')
-rw-r--r--kern/mutex/mutex_adaptive_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mutex/mutex_adaptive_i.h b/kern/mutex/mutex_adaptive_i.h
index b123251..e29fdb4 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)