diff options
author | Remy Noel <mocramis@gmail.com> | 2018-05-03 16:15:28 +0200 |
---|---|---|
committer | Remy Noel <mocramis@gmail.com> | 2018-05-03 16:15:28 +0200 |
commit | 58c17bd912ec450f8132597cdba6afd300a63586 (patch) | |
tree | bc78f8d7fc585e4d4762daccf9cbd62f95791ceb /kern/rtmutex_i.h | |
parent | bf16bb3d761063aee9ee2b20aba15a7267d473ac (diff) | |
parent | 7769b9765c40a78b8af2568161da404e4e22a77c (diff) |
Merge branch 'master' into perfmon
Diffstat (limited to 'kern/rtmutex_i.h')
-rw-r--r-- | kern/rtmutex_i.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/rtmutex_i.h b/kern/rtmutex_i.h index 64ff69a..373c180 100644 --- a/kern/rtmutex_i.h +++ b/kern/rtmutex_i.h @@ -41,8 +41,8 @@ * the turnstile wait function so that only the highest priority thread * may lock the mutex. */ -#define RTMUTEX_CONTENDED 0x1 -#define RTMUTEX_FORCE_WAIT 0x2 +#define RTMUTEX_CONTENDED ((uintptr_t)0x1) +#define RTMUTEX_FORCE_WAIT ((uintptr_t)0x2) #define RTMUTEX_OWNER_MASK (~((uintptr_t)(RTMUTEX_FORCE_WAIT \ | RTMUTEX_CONTENDED))) |