summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.h
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-11-18 18:05:54 +0000
committeralc <alc@FreeBSD.org>2009-11-18 18:05:54 +0000
commitca67dc4da40d836cf1919f08c2fba266a28d19b2 (patch)
tree3197a0817148614fefed82c9320e8a968b09917e /sys/vm/vm_map.h
parent5df0c181df0fabff74fce8340202811f15a55b4e (diff)
downloadFreeBSD-src-ca67dc4da40d836cf1919f08c2fba266a28d19b2.zip
FreeBSD-src-ca67dc4da40d836cf1919f08c2fba266a28d19b2.tar.gz
Simplify both the invocation and the implementation of vm_fault() for wiring
pages. (Note: Claims made in the comments about the handling of breakpoints in wired pages have been false for roughly a decade. This and another bug involving breakpoints will be fixed in coming changes.) Reviewed by: kib
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r--sys/vm/vm_map.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index 0c586ab..dbf2c67 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -319,8 +319,6 @@ long vmspace_wired_count(struct vmspace *vmspace);
*/
#define VM_FAULT_NORMAL 0 /* Nothing special */
#define VM_FAULT_CHANGE_WIRING 1 /* Change the wiring as appropriate */
-#define VM_FAULT_USER_WIRE 2 /* Likewise, but for user purposes */
-#define VM_FAULT_WIRE_MASK (VM_FAULT_CHANGE_WIRING|VM_FAULT_USER_WIRE)
#define VM_FAULT_DIRTY 8 /* Dirty the page */
/*
OpenPOWER on IntegriCloud