Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Use syncw on OCTEON
details: https://anonhg.NetBSD.org/src/rev/f5b4f2f0de85
branches: trunk
changeset: 338687:f5b4f2f0de85
user: matt <matt%NetBSD.org@localhost>
date: Thu Jun 04 02:28:06 2015 +0000
description:
Use syncw on OCTEON
diffstat:
sys/arch/mips/mips/lock_stubs_llsc.S | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 8592f120a6d5 -r f5b4f2f0de85 sys/arch/mips/mips/lock_stubs_llsc.S
--- a/sys/arch/mips/mips/lock_stubs_llsc.S Thu Jun 04 02:27:25 2015 +0000
+++ b/sys/arch/mips/mips/lock_stubs_llsc.S Thu Jun 04 02:28:06 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_stubs_llsc.S,v 1.2 2011/07/10 23:21:59 matt Exp $ */
+/* $NetBSD: lock_stubs_llsc.S,v 1.3 2015/06/04 02:28:06 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -45,8 +45,13 @@
#endif
#if defined(MULTIPROCESSOR)
+#if defined(__OCTEON__)
+#define SYNC syncw
+#define BDSYNC syncw
+#else
#define SYNC sync
#define BDSYNC sync
+#endif
#else
#define SYNC /* nothing */
#define BDSYNC nop
Home |
Main Index |
Thread Index |
Old Index