Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 sparc64: Add missing LoadStore orde...



details:   https://anonhg.NetBSD.org/src/rev/302b3cdc45f2
branches:  trunk
changeset: 373600:302b3cdc45f2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Feb 20 13:30:22 2023 +0000

description:
sparc64: Add missing LoadStore ordering for mutex_enter stub.

XXX pullup-8
XXX pullup-9
XXX pullup-10

diffstat:

 sys/arch/sparc64/sparc64/lock_stubs.s |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 535f35e1a310 -r 302b3cdc45f2 sys/arch/sparc64/sparc64/lock_stubs.s
--- a/sys/arch/sparc64/sparc64/lock_stubs.s     Mon Feb 20 06:31:09 2023 +0000
+++ b/sys/arch/sparc64/sparc64/lock_stubs.s     Mon Feb 20 13:30:22 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock_stubs.s,v 1.11 2022/04/06 22:47:57 riastradh Exp $        */
+/*     $NetBSD: lock_stubs.s,v 1.12 2023/02/20 13:30:22 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2002, 2006 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 #define        CURLWP  (CPUINFO_VA+CI_CURLWP)
 
 #if defined(MULTIPROCESSOR)
-#define        MB_READ membar #LoadLoad
+#define        MB_READ membar #LoadLoad | #LoadStore
 #define        MB_MEM  membar #LoadStore | #StoreStore
 #else
 #define        MB_READ /* nothing */



Home | Main Index | Thread Index | Old Index