From 18c2ab9a094f6a6cb3a107d66dafaf32f8f969f0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 13 Dec 2020 10:16:55 +0000 Subject: hurd: Rename LLL_INITIALIZER to LLL_LOCK_INITIALIZER To get coherent with other ports. --- mach/lock-intern.h | 2 +- mach/lowlevellock.h | 2 +- mach/mutex-init.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mach') 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) -- cgit 1.4.1