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/19d54906bf4d
branches: trunk
changeset: 326890:19d54906bf4d
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 5d76c9d1e112 -r 19d54906bf4d 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