Sat May 28 14:40:13 2011 UTC ()
Since we mostly use RAS (even if we have LL/SC), need to check for lock ras
addresses even on ll/sc capable CPUs.


(matt)
diff -r1.48 -r1.49 src/sys/arch/mips/mips/mipsX_subr.S

cvs diff -r1.48 -r1.49 src/sys/arch/mips/mips/mipsX_subr.S (expand / switch to context diff)
--- src/sys/arch/mips/mips/mipsX_subr.S 2011/05/07 18:16:54 1.48
+++ src/sys/arch/mips/mips/mipsX_subr.S 2011/05/28 14:40:13 1.49
@@ -1,4 +1,4 @@
-/*	$NetBSD: mipsX_subr.S,v 1.48 2011/05/07 18:16:54 tsutsui Exp $	*/
+/*	$NetBSD: mipsX_subr.S,v 1.49 2011/05/28 14:40:13 matt Exp $	*/
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -708,7 +708,6 @@
 	 nop
 #endif /* PARANOIA */
 
-#ifdef notyet
 	/*
 	 * Check for kernel restartable atomic sequences.
 	 */
@@ -720,7 +719,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