summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-24 20:49:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-11-24 20:49:25 +0000
commit0845886a6ac4d8c07df6f57d3c06bbe8e22c0854 (patch)
tree165e99bda8d6e8067778251985f0fb6bb45c9fe4 /sys/arch/hppa
parent72afa7b776f42bb7fcc4decdb334cea1fe0a5908 (diff)
raise dirty in kenter_pa too
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index 9dc679b6963..3281998bf3c 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.36 2000/11/08 16:44:53 mickey Exp $ */
+/* $OpenBSD: pmap.c,v 1.37 2000/11/24 20:49:24 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -1594,7 +1594,7 @@ pmap_kenter_pa(va, pa, prot)
pv->pv_pmap = pmap_kernel();
pv->pv_space = pmap_kernel()->pmap_space;
pv->pv_tlbpage = tlbbtop(pa);
- pv->pv_tlbprot = TLB_WIRED | TLB_REF |
+ pv->pv_tlbprot = TLB_WIRED | TLB_REF | TLB_DIRTY |
pmap_prot(pmap_kernel(), prot) | HPPA_PID_KERNEL |
((pa & HPPA_IOSPACE) == HPPA_IOSPACE? TLB_UNCACHEABLE : 0);
pmap_enter_va(pv->pv_space, va, pv);