summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-27 01:04:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-27 01:04:04 +0000
commitc9aeb59e583a562563b8d0dc1698be747c834bc8 (patch)
tree4f2dcbd3a01f7bca29bed0b1e4fb63677bf10b0f
parent82c0a20f7f1b697161e946c6653ad3aa6c2e1d59 (diff)
previous commit ppc machines. has miod been reading tech-kern too much,
and is he trying to emulate them?
-rw-r--r--sys/arch/macppc/macppc/machdep.c4
-rw-r--r--sys/arch/mvmeppc/mvmeppc/machdep.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 80a37d9675e..78b1707a75f 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.86 2007/02/26 21:30:17 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.87 2007/02/27 01:04:03 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -660,8 +660,6 @@ setregs(struct proc *p, struct exec_package *pack, u_long stack,
tf->srr0 = pack->ep_entry;
tf->srr1 = PSL_MBO | PSL_USERSET | PSL_FE_DFLT;
p->p_addr->u_pcb.pcb_flags = 0;
-
- retval[1] = 0;
}
/*
diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c
index 7cc0e449a64..3bfa7a89ebf 100644
--- a/sys/arch/mvmeppc/mvmeppc/machdep.c
+++ b/sys/arch/mvmeppc/mvmeppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.50 2007/02/26 21:30:18 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.51 2007/02/27 01:04:01 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -574,8 +574,6 @@ setregs(p, pack, stack, retval)
tf->srr0 = pack->ep_entry;
tf->srr1 = PSL_MBO | PSL_USERSET | PSL_FE_DFLT;
p->p_addr->u_pcb.pcb_flags = 0;
-
- retval[1] = 0;
}
/*