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_fetch_and_add_8 alias
details: https://anonhg.NetBSD.org/src/rev/60c2cb5dab45
branches: trunk
changeset: 326370:60c2cb5dab45
user: matt <matt%NetBSD.org@localhost>
date: Mon Jan 27 18:09:51 2014 +0000
description:
Add __sync_fetch_and_add_8 alias
diffstat:
common/lib/libc/atomic/atomic_add_64_cas.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 51ac34a3ed15 -r 60c2cb5dab45 common/lib/libc/atomic/atomic_add_64_cas.c
--- a/common/lib/libc/atomic/atomic_add_64_cas.c Mon Jan 27 18:08:37 2014 +0000
+++ b/common/lib/libc/atomic/atomic_add_64_cas.c Mon Jan 27 18:09:51 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_add_64_cas.c,v 1.5 2008/04/28 20:22:52 martin Exp $ */
+/* $NetBSD: atomic_add_64_cas.c,v 1.6 2014/01/27 18:09:51 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -48,6 +48,7 @@
#undef atomic_add_64
atomic_op_alias(atomic_add_64,_atomic_add_64)
+__strong_alias(__sync_fetch_and_add_8,_atomic_add_64)
#if defined(_LP64)
#undef atomic_add_long
Home |
Main Index |
Thread Index |
Old Index