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 Fix a fatal typo that causes TLB miss pan...



details:   https://anonhg.NetBSD.org/src/rev/5ec4ae9bd42a
branches:  trunk
changeset: 761271:5ec4ae9bd42a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jan 22 17:31:31 2011 +0000

description:
Fix a fatal typo that causes TLB miss panic in MachFPInterrupt().
Reported in followups of PR port-cobalt/44292.

diffstat:

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

diffs (18 lines):

diff -r 49a2822270cc -r 5ec4ae9bd42a sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Sat Jan 22 17:10:20 2011 +0000
+++ b/sys/arch/mips/mips/locore.S       Sat Jan 22 17:31:31 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.173 2010/12/22 01:34:17 nisimura Exp $    */
+/*     $NetBSD: locore.S,v 1.174 2011/01/22 17:31:31 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -750,7 +750,7 @@
  */
 FPReturn:
        mfc0            t0, MIPS_COP_0_STATUS
-       REG_S           ra, CALLFRAME_RA(sp)
+       REG_L           ra, CALLFRAME_RA(sp)
        and             t0, t0, ~MIPS_SR_COP_1_BIT
        mtc0            t0, MIPS_COP_0_STATUS
        COP0_SYNC



Home | Main Index | Thread Index | Old Index