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