diff options
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 4874788a991..357cff33f96 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.145 2013/01/22 23:56:31 dlg Exp $ */ +/* $OpenBSD: machdep.c,v 1.146 2013/02/15 22:58:17 kettenis Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -332,7 +332,7 @@ setregs(p, pack, stack, retval) tf->tf_tstate = tstate; tf->tf_pc = pack->ep_entry & ~3; tf->tf_npc = tf->tf_pc + 4; - tf->tf_global[2] = tf->tf_global[7] = tf->tf_pc; + tf->tf_global[2] = tf->tf_pc; stack -= sizeof(struct rwindow); tf->tf_out[6] = stack - STACK_OFFSET; #ifdef NOTDEF_DEBUG |