summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-04-14 14:52:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-04-14 14:52:40 +0000
commitc4813b1b50dfc0a81e0e407a20c1c16212b6d970 (patch)
tree8a960ba59697eee0562f95e1e8d1d02ab593cbe5 /sys/arch/mips64/include
parentf82c5a359851b2574f03ba4a1636cd376b3b6e0e (diff)
Correctly handle pv_flags for pages used to store ptes, so that they
are in a correct state when we uvm_pagefree() them.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/pmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/pmap.h b/sys/arch/mips64/include/pmap.h
index 9a2fc3f4e78..1d133c58b85 100644
--- a/sys/arch/mips64/include/pmap.h
+++ b/sys/arch/mips64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.10 2006/06/20 06:26:57 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.11 2007/04/14 14:52:37 miod Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -92,7 +92,7 @@ typedef struct pmap {
#define PV_CACHED 0x0002 /* Page has been cached */
#define PV_ATTR_MOD 0x0004
#define PV_ATTR_REF 0x0008
-#define PV_PRESERVE (PV_UNCACHED|PV_CACHED|PV_ATTR_MOD|PV_ATTR_REF)
+#define PV_PRESERVE (PV_ATTR_MOD | PV_ATTR_REF)
extern struct pmap kernel_pmap_store;