summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-08-25 21:25:44 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-08-25 21:25:44 +0200
commitaa9fc05b39910a2fa5fd0c2a5a7b664c9ff21fd1 (patch)
treeaec8d784e3a8b1d4f67329c31a997a9e16c60cf9 /mach
parent339622c18067fd51bb573509265302fb9514c3a1 (diff)
Better define __SPIN_LOCK_INITIALIZER
* mach/lock-intern.h (__SPIN_LOCK_INITIALIZER): Initialize to LLL_INITIALIZER instead of hardcoding it to 0.
Diffstat (limited to 'mach')
-rw-r--r--mach/lock-intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mach/lock-intern.h b/mach/lock-intern.h
index c69a7ed425..8776f85efe 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 0
+#define __SPIN_LOCK_INITIALIZER LLL_INITIALIZER
/* Initialize LOCK. */