aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r--sys/vm/vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h
index 296449edc7c1..9bf77db4118c 100644
--- a/sys/vm/vm.h
+++ b/sys/vm/vm.h
@@ -145,6 +145,9 @@ struct kva_md_info {
vm_offset_t clean_eva;
};
+#define VA_IS_CLEANMAP(va) \
+ ((va) >= kmi.clean_sva && (va) < kmi.clean_eva)
+
extern struct kva_md_info kmi;
extern void vm_ksubmap_init(struct kva_md_info *);