Module Name: src
Committed By: simonb
Date: Sat Aug 1 07:09:41 UTC 2020
Modified Files:
src/sys/arch/mips/mips: lock_stubs_llsc.S
Log Message:
Add a comment to say that an Octeon "sync 4" is "syncw" - sync all writes.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/mips/mips/lock_stubs_llsc.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/lock_stubs_llsc.S
diff -u src/sys/arch/mips/mips/lock_stubs_llsc.S:1.9 src/sys/arch/mips/mips/lock_stubs_llsc.S:1.10
--- src/sys/arch/mips/mips/lock_stubs_llsc.S:1.9 Sat Apr 6 03:06:26 2019
+++ src/sys/arch/mips/mips/lock_stubs_llsc.S Sat Aug 1 07:09:41 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: lock_stubs_llsc.S,v 1.9 2019/04/06 03:06:26 thorpej Exp $ */
+/* $NetBSD: lock_stubs_llsc.S,v 1.10 2020/08/01 07:09:41 simonb Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <machine/asm.h>
-RCSID("$NetBSD: lock_stubs_llsc.S,v 1.9 2019/04/06 03:06:26 thorpej Exp $")
+RCSID("$NetBSD: lock_stubs_llsc.S,v 1.10 2020/08/01 07:09:41 simonb Exp $")
#include "assym.h"
@@ -47,8 +47,8 @@ RCSID("$NetBSD: lock_stubs_llsc.S,v 1.9
#if defined(MULTIPROCESSOR)
#if defined(__OCTEON__)
-#define SYNC sync 4
-#define BDSYNC sync 4
+#define SYNC sync 4 /* sync 4 == syncw - sync all writes */
+#define BDSYNC sync 4 /* sync 4 == syncw - sync all writes */
#else
#define SYNC sync
#define BDSYNC sync