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 Fix previous: move the alias declarat...
details: https://anonhg.NetBSD.org/src/rev/1046aff171fb
branches: trunk
changeset: 793630:1046aff171fb
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 21 14:42:09 2014 +0000
description:
Fix previous: move the alias declaration outside of a #ifdef _LP64
diffstat:
common/lib/libc/atomic/atomic_swap_64_cas.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 8bb4b13e1012 -r 1046aff171fb common/lib/libc/atomic/atomic_swap_64_cas.c
--- a/common/lib/libc/atomic/atomic_swap_64_cas.c Fri Feb 21 12:26:40 2014 +0000
+++ b/common/lib/libc/atomic/atomic_swap_64_cas.c Fri Feb 21 14:42:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_swap_64_cas.c,v 1.6 2014/02/21 10:27:34 martin Exp $ */
+/* $NetBSD: atomic_swap_64_cas.c,v 1.7 2014/02/21 14:42:09 martin Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -49,11 +49,11 @@
#undef atomic_swap_64
atomic_op_alias(atomic_swap_64,_atomic_swap_64)
+__strong_alias(__sync_lock_test_and_set_8,_atomic_swap_64)
#if defined(_LP64)
#undef atomic_swap_ulong
atomic_op_alias(atomic_swap_ulong,_atomic_swap_64)
__strong_alias(_atomic_swap_ulong,_atomic_swap_64)
-__strong_alias(__sync_lock_test_and_set_8,_atomic_swap_64)
#undef atomic_swap_ptr
atomic_op_alias(atomic_swap_ptr,_atomic_swap_64)
__strong_alias(_atomic_swap_ptr,_atomic_swap_64)
Home |
Main Index |
Thread Index |
Old Index