summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-02 18:15:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-02 18:15:56 +0000
commita203663eae6cc163bcad8ba204569f04dd66d240 (patch)
tree8973463411dc286f3c388f39c6260b72c02b0655 /sys/arch
parent13f91bdce445c9a70ccf02ac550d4cc6a06d93fa (diff)
No need to check for P_INMEM in process_set_pc() and process_sstep(), as these
function are only invoked between PHOLD and PRELE.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/vax/machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c
index cc971d7a31d..3c53c95c0db 100644
--- a/sys/arch/vax/vax/machdep.c
+++ b/sys/arch/vax/vax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.74 2005/11/06 22:21:33 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.75 2006/01/02 18:15:55 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */
/*
@@ -663,9 +663,6 @@ process_set_pc(p, addr)
struct trapframe *tf;
void *ptr;
- if ((p->p_flag & P_INMEM) == 0)
- return (EIO);
-
ptr = (char *) p->p_addr->u_pcb.framep;
tf = ptr;
@@ -681,9 +678,6 @@ process_sstep(p, sstep)
void *ptr;
struct trapframe *tf;
- if ((p->p_flag & P_INMEM) == 0)
- return (EIO);
-
ptr = p->p_addr->u_pcb.framep;
tf = ptr;