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 Since we mostly use RAS (even if we have ...



details:   https://anonhg.NetBSD.org/src/rev/6fc66d3470cb
branches:  trunk
changeset: 765491:6fc66d3470cb
user:      matt <matt%NetBSD.org@localhost>
date:      Sat May 28 14:40:13 2011 +0000

description:
Since we mostly use RAS (even if we have LL/SC), need to check for lock ras
addresses even on ll/sc capable CPUs.

diffstat:

 sys/arch/mips/mips/mipsX_subr.S |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r bab37d3a516c -r 6fc66d3470cb sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sat May 28 13:59:31 2011 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sat May 28 14:40:13 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index