Module Name: src
Committed By: matt
Date: Sat May 28 02:20:13 UTC 2011
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S
Log Message:
Since we mostly use RAS (even if we have LL/SC), need to check for lock ras
addresses even on ll/sc capable CPUs.
To generate a diff of this commit:
cvs rdiff -u -r1.26.36.1.2.43 -r1.26.36.1.2.44 \
src/sys/arch/mips/mips/mipsX_subr.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/mipsX_subr.S
diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.43 src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.44
--- src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.43 Thu May 26 19:21:56 2011
+++ src/sys/arch/mips/mips/mipsX_subr.S Sat May 28 02:20:13 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.43 2011/05/26 19:21:56 matt Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.44 2011/05/28 02:20:13 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -773,7 +773,6 @@
nop
#endif /* PARANOIA */
-#ifdef notyet
/*
* Check for kernel restartable atomic sequences.
*/
@@ -785,7 +784,6 @@
jal _C_LABEL(_restart_lock_ras) # fix the pc (k1)
nop
1:
-#endif
_MTC0 k1, MIPS_COP_0_EXC_PC # set return address
COP0_SYNC