Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/bouyer-xenpvh]: src/common/lib/libc/arch/i386/atomic Force _atomic_cas_c...
details: https://anonhg.NetBSD.org/src/rev/884b8cb73e84
branches: bouyer-xenpvh
changeset: 1024965:884b8cb73e84
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Apr 14 16:51:13 2020 +0000
description:
Force _atomic_cas_cx8 only for XENPV; x86_patch works fine for (PV)HVM
diffstat:
common/lib/libc/arch/i386/atomic/atomic.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 30f75bd2e590 -r 884b8cb73e84 common/lib/libc/arch/i386/atomic/atomic.S
--- a/common/lib/libc/arch/i386/atomic/atomic.S Sun Apr 12 21:20:16 2020 +0000
+++ b/common/lib/libc/arch/i386/atomic/atomic.S Tue Apr 14 16:51:13 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic.S,v 1.23 2018/07/18 13:39:36 bouyer Exp $ */
+/* $NetBSD: atomic.S,v 1.23.8.1 2020/04/14 16:51:13 bouyer Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -197,7 +197,7 @@
ENDLABEL(membar_sync_end)
#if defined(__HAVE_ATOMIC64_OPS) || defined(_KERNEL)
-#ifdef XEN
+#ifdef XENPV
STRONG_ALIAS(_atomic_cas_64,_atomic_cas_cx8)
#else
ENTRY(_atomic_cas_64)
Home |
Main Index |
Thread Index |
Old Index