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 Use REG_L (not REG_S) to restore a regist...
details: https://anonhg.NetBSD.org/src/rev/e4c204a13284
branches: trunk
changeset: 763631:e4c204a13284
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Mon Mar 28 12:26:59 2011 +0000
description:
Use REG_L (not REG_S) to restore a register value.
diffstat:
sys/arch/mips/mips/mips_mcclock_loop.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9c88ea2b6dd5 -r e4c204a13284 sys/arch/mips/mips/mips_mcclock_loop.S
--- a/sys/arch/mips/mips/mips_mcclock_loop.S Mon Mar 28 11:41:48 2011 +0000
+++ b/sys/arch/mips/mips/mips_mcclock_loop.S Mon Mar 28 12:26:59 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_mcclock_loop.S,v 1.4 2009/12/14 00:46:06 matt Exp $ */
+/* $NetBSD: mips_mcclock_loop.S,v 1.5 2011/03/28 12:26:59 tsutsui Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
beqz v0, 1b # if zero then repeat
move v0, s0 # return iters
REG_L ra, CALLFRAME_RA(sp)
- REG_S s0, CALLFRAME_S0(sp)
+ REG_L s0, CALLFRAME_S0(sp)
j ra
PTR_ADDU sp, CALLFRAME_SIZ
END(mips_mcclock_loop_with_clock)
Home |
Main Index |
Thread Index |
Old Index