diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 45a159221ff..53e3015b988 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.124 2008/10/24 06:34:55 deraadt Exp $ */ +/* $OpenBSD: pmap.c,v 1.125 2008/11/06 19:13:31 deraadt Exp $ */ /* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */ /* @@ -578,7 +578,7 @@ pmap_exec_account(struct pmap *pm, vaddr_t va, if (pm == pmap_kernel()) return; - if (curproc == NULL || curproc->p_vmspace == NULL || + if (curproc->p_vmspace == NULL || pm != vm_map_pmap(&curproc->p_vmspace->vm_map)) return; |