diff options
author | 2015-01-16 20:17:07 +0000 | |
---|---|---|
committer | 2015-01-16 20:17:07 +0000 | |
commit | a7eb244ed544990410a8aef9bc8c5f17232e83dc (patch) | |
tree | 1f902e39cc327c5af3611e47e33eaa187371b4e6 | |
parent | disklabel_sun_to_bsd() will nicely set the disk size if it is zero, but it is (diff) | |
download | wireguard-openbsd-a7eb244ed544990410a8aef9bc8c5f17232e83dc.tar.xz wireguard-openbsd-a7eb244ed544990410a8aef9bc8c5f17232e83dc.zip |
Don't bother to initialize %g1; we don't do this on sparc either.
ok miod@
-rw-r--r-- | sys/arch/solbourne/solbourne/machdep.c | 3 |
1 files changed, 1 insertions, 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) { |