diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-20 19:35:51 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-08-20 19:35:51 +0000 |
commit | 41d050000c35ce9fbc4e1fb57b92a62893bd75ee (patch) | |
tree | a7c75a0bdb7a1369b0c47343901c740949680277 /sys/arch | |
parent | f5ffcddd4d603ba335ed92a5d3c0a14cfe1a081e (diff) |
Fix the write status test for the 88110 kluge in m88k_protection() [oops]
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/pmap.c b/sys/arch/mvme88k/mvme88k/pmap.c index a0f45c54cc9..937c1e68120 100644 --- a/sys/arch/mvme88k/mvme88k/pmap.c +++ b/sys/arch/mvme88k/mvme88k/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.73 2003/08/20 19:29:12 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.74 2003/08/20 19:35:50 miod Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Miodrag Vallat * Copyright (c) 1998-2001 Steve Murphree, Jr. @@ -272,7 +272,7 @@ m88k_protection(pmap_t pmap, vm_prot_t prot) * upon writing to the page the first time. XXX smurph */ if (pmap == kernel_pmap) { - if (p & PG_PROT) + if ((p & PG_RO) == 0) p |= PG_M; } } |