Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include Use __ATOMIC_RELAXED in __cpu_simpl...
details: https://anonhg.NetBSD.org/src/rev/88c6edc580fd
branches: trunk
changeset: 331531:88c6edc580fd
user: matt <matt%NetBSD.org@localhost>
date: Wed Aug 13 19:32:35 2014 +0000
description:
Use __ATOMIC_RELAXED in __cpu_simple_lock_init
diffstat:
sys/arch/aarch64/include/lock.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 12bc86f4e022 -r 88c6edc580fd sys/arch/aarch64/include/lock.h
--- a/sys/arch/aarch64/include/lock.h Wed Aug 13 18:25:11 2014 +0000
+++ b/sys/arch/aarch64/include/lock.h Wed Aug 13 19:32:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.1 2014/08/10 05:47:38 matt Exp $ */
+/* $NetBSD: lock.h,v 1.2 2014/08/13 19:32:35 matt Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
static __inline void __unused
__cpu_simple_lock_init(__cpu_simple_lock_t *alp)
{
- __atomic_clear(alp, __ATOMIC_ACQUIRE);
+ __atomic_clear(alp, __ATOMIC_RELAXED);
}
static __inline void __unused
Home |
Main Index |
Thread Index |
Old Index