summaryrefslogtreecommitdiff
path: root/common/lib/libc
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2020-08-10 14:37:38 +0000
committerskrll <skrll@NetBSD.org>2020-08-10 14:37:38 +0000
commite2c79b627ba1a61a2de88bbfbb41e8fc64aa7cdb (patch)
treebd62312684f6de59d065efb4991a6ec093a8e48a /common/lib/libc
parent17fba5394529dc6dc4a4b258d77bd7dac3f1813b (diff)
More SYNC centralisation
Diffstat (limited to 'common/lib/libc')
-rw-r--r--common/lib/libc/arch/mips/atomic/membar_ops.S11
1 files changed, 2 insertions, 9 deletions
diff --git a/common/lib/libc/arch/mips/atomic/membar_ops.S b/common/lib/libc/arch/mips/atomic/membar_ops.S
index 63fd8257273..03fcb5a32e0 100644
--- a/common/lib/libc/arch/mips/atomic/membar_ops.S
+++ b/common/lib/libc/arch/mips/atomic/membar_ops.S
@@ -1,4 +1,4 @@
-/* $NetBSD: membar_ops.S,v 1.9 2020/08/01 09:26:49 skrll Exp $ */
+/* $NetBSD: membar_ops.S,v 1.10 2020/08/10 14:37:38 skrll Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -31,19 +31,12 @@
#include "atomic_op_asm.h"
-// If we are on building for MIPS III or later, put in SYNCs
-#if __mips >= 3 || !defined(__mips_o32)
-# define SYNC sync
-#else
-# define SYNC nop
-#endif
-
.text
.set noreorder
LEAF(_membar_sync)
j ra
- SYNC
+ BDSYNC
END(_membar_sync)
#ifdef __OCTEON__