diff options
author | Richard Braun <rbraun@sceen.net> | 2018-04-21 14:38:54 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-04-21 14:38:54 +0200 |
commit | 3ca133c4a08b436f4d41331a643ee70bb2e9f08b (patch) | |
tree | 5128be82f95390b559e1044e12f96c35a011432a | |
parent | e6a01670c335a1864b659e250cd2c29fb7da369f (diff) |
kern/mutex/mutex_adaptive: fix atomic operation calls
-rw-r--r-- | kern/mutex/mutex_adaptive_i.h | 2 |
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) |