Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/atomic Add __sync_synchronize alias.
details: https://anonhg.NetBSD.org/src/rev/838083b4256a
branches: trunk
changeset: 325124:838083b4256a
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Dec 07 13:09:55 2013 +0000
description:
Add __sync_synchronize alias.
diffstat:
common/lib/libc/atomic/membar_ops_nop.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 51e995a33a30 -r 838083b4256a common/lib/libc/atomic/membar_ops_nop.c
--- a/common/lib/libc/atomic/membar_ops_nop.c Sat Dec 07 11:49:56 2013 +0000
+++ b/common/lib/libc/atomic/membar_ops_nop.c Sat Dec 07 13:09:55 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: membar_ops_nop.c,v 1.5 2009/08/21 14:31:02 skrll Exp $ */
+/* $NetBSD: membar_ops_nop.c,v 1.6 2013/12/07 13:09:55 skrll Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -54,3 +54,4 @@
__strong_alias(_membar_consumer,_membar_sync)
#undef membar_sync
atomic_op_alias(membar_sync,_membar_sync)
+atomic_op_alias(__sync_synchronize,_membar_sync)
Home |
Main Index |
Thread Index |
Old Index