From a7eb244ed544990410a8aef9bc8c5f17232e83dc Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 16 Jan 2015 20:17:07 +0000 Subject: [PATCH] Don't bother to initialize %g1; we don't do this on sparc either. ok miod@ --- sys/arch/solbourne/solbourne/machdep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arch/solbourne/solbourne/machdep.c b/sys/arch/solbourne/solbourne/machdep.c index b996b9b0e2d..cc6b2c4d4a1 100644 --- a/sys/arch/solbourne/solbourne/machdep.c +++ b/sys/arch/solbourne/solbourne/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.45 2014/12/10 15:29:53 mikeb Exp $ */ +/* $OpenBSD: machdep.c,v 1.46 2015/01/16 20:17:07 kettenis Exp $ */ /* OpenBSD: machdep.c,v 1.105 2005/04/11 15:13:01 deraadt Exp */ /* @@ -261,7 +261,6 @@ setregs(p, pack, stack, retval) bzero((caddr_t)tf, sizeof *tf); tf->tf_psr = psr; tf->tf_npc = pack->ep_entry & ~3; - tf->tf_global[1] = (int)PS_STRINGS; tf->tf_global[2] = tf->tf_global[7] = tf->tf_npc; /* XXX exec of init(8) returns via proc_trampoline() */ if (p->p_pid == 1) { -- 2.20.1