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 build error in previous:



details:   https://anonhg.NetBSD.org/src/rev/ebd37170a019
branches:  trunk
changeset: 763901:ebd37170a019
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Apr 06 13:30:33 2011 +0000

description:
Fix build error in previous:
>> ../arch/mips/mips/locore.S:632: Error: register value used as expression

diffstat:

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

diffs (18 lines):

diff -r 5ccb589140ae -r ebd37170a019 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Wed Apr 06 10:06:49 2011 +0000
+++ b/sys/arch/mips/mips/locore.S       Wed Apr 06 13:30:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.186 2011/04/06 05:37:59 matt Exp $        */
+/*     $NetBSD: locore.S,v 1.187 2011/04/06 13:30:33 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -629,7 +629,7 @@
  */
        srl             v1, a2, 31              # move branch delay bit to LSB
        sll             v1, 2                   # shift it left by 2 (mult by 4)
-       PTR_ADDIU       a0, v1                  # add to a0
+       PTR_ADDU        a0, v1                  # add to a0
        INT_L           a0, 0(a0)               # a0 = coproc instruction
        NOP_L                                   # load delay
 



Home | Main Index | Thread Index | Old Index