diff options
-rw-r--r-- | sys/arch/hp300/hp300/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/trap.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hp300/hp300/trap.c b/sys/arch/hp300/hp300/trap.c index c30f7935c65..a2f71854793 100644 --- a/sys/arch/hp300/hp300/trap.c +++ b/sys/arch/hp300/hp300/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.7 1997/02/05 17:33:02 downsj Exp $ */ +/* $OpenBSD: trap.c,v 1.8 1997/02/21 06:07:25 deraadt Exp $ */ /* $NetBSD: trap.c,v 1.47 1996/10/14 20:06:31 thorpej Exp $ */ /* @@ -631,7 +631,7 @@ trap(type, code, v, frame) vftype = VM_PROT_WRITE; ftype = VM_PROT_READ | VM_PROT_WRITE; } else - ftype = VM_PROT_READ; + vftype = ftype = VM_PROT_READ; va = trunc_page((vm_offset_t)v); diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c index fa1dfbc9d99..5b41765e1a2 100644 --- a/sys/arch/mvme68k/mvme68k/trap.c +++ b/sys/arch/mvme68k/mvme68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.13 1997/02/04 17:23:20 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.14 1997/02/21 06:07:27 deraadt Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -578,7 +578,7 @@ copyfault: vftype = VM_PROT_WRITE; ftype = VM_PROT_READ | VM_PROT_WRITE; } else - ftype = VM_PROT_READ; + vftype = ftype = VM_PROT_READ; va = trunc_page((vm_offset_t)v); if (map == kernel_map && va == 0) { diff --git a/sys/arch/sun3/sun3/trap.c b/sys/arch/sun3/sun3/trap.c index 48535cadab8..f3eb4d052d9 100644 --- a/sys/arch/sun3/sun3/trap.c +++ b/sys/arch/sun3/sun3/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.14 1997/02/06 20:03:59 kstailey Exp $ */ +/* $OpenBSD: trap.c,v 1.15 1997/02/21 06:07:28 deraadt Exp $ */ /* $NetBSD: trap.c,v 1.63-1.65ish 1997/01/16 15:41:40 gwr Exp $ */ /* @@ -491,7 +491,7 @@ trap(type, code, v, frame) vftype = VM_PROT_WRITE; ftype = VM_PROT_READ | VM_PROT_WRITE; } else - ftype = VM_PROT_READ; + vftype = ftype = VM_PROT_READ; va = trunc_page((vm_offset_t)v); /* |