diff options
Diffstat (limited to 'mach')
-rw-r--r-- | mach/lock-intern.h | 2 | ||||
-rw-r--r-- | mach/lowlevellock.h | 2 | ||||
-rw-r--r-- | mach/mutex-init.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mach/lock-intern.h b/mach/lock-intern.h index a68674cef4..62faf98039 100644 --- a/mach/lock-intern.h +++ b/mach/lock-intern.h @@ -31,7 +31,7 @@ typedef unsigned int __spin_lock_t; /* Static initializer for spinlocks. */ -#define __SPIN_LOCK_INITIALIZER LLL_INITIALIZER +#define __SPIN_LOCK_INITIALIZER LLL_LOCK_INITIALIZER /* Initialize LOCK. */ diff --git a/mach/lowlevellock.h b/mach/lowlevellock.h index 6d92adca1c..cf67ccd589 100644 --- a/mach/lowlevellock.h +++ b/mach/lowlevellock.h @@ -32,7 +32,7 @@ #endif /* Static initializer for low-level locks. */ -#define LLL_INITIALIZER 0 +#define LLL_LOCK_INITIALIZER 0 /* Wait on address PTR, without blocking if its contents * are different from VAL. */ diff --git a/mach/mutex-init.c b/mach/mutex-init.c index acacec2fb0..fc898f66d4 100644 --- a/mach/mutex-init.c +++ b/mach/mutex-init.c @@ -22,6 +22,6 @@ void __mutex_init (void *lock) { - *(int *)lock = LLL_INITIALIZER; + *(int *)lock = LLL_LOCK_INITIALIZER; } libc_hidden_def (__mutex_init) |