-/* $OpenBSD: uvm_map.c,v 1.291 2022/05/04 14:58:26 mpi Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.292 2022/08/07 19:39:25 miod Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
#define vmspace_validate(_map) do {} while (0)
#endif
-/*
- * All architectures will have pmap_prefer.
- */
-#ifndef PMAP_PREFER
-#define PMAP_PREFER_ALIGN() (vaddr_t)PAGE_SIZE
-#define PMAP_PREFER_OFFSET(off) 0
-#define PMAP_PREFER(addr, off) (addr)
-#endif
-
/*
* The kernel map will initially be VM_MAP_KSIZE_INIT bytes.
* Every time that gets cramped, we grow by at least VM_MAP_KSIZE_DELTA bytes.
-/* $OpenBSD: uvm_pmap.h,v 1.29 2019/12/08 05:22:44 visa Exp $ */
+/* $OpenBSD: uvm_pmap.h,v 1.30 2022/08/07 19:39:25 miod Exp $ */
/* $NetBSD: uvm_pmap.h,v 1.1 2000/06/27 09:00:14 mrg Exp $ */
/*
#define PMAP_WC 0
#endif
+#ifndef PMAP_PREFER
+#define PMAP_PREFER_ALIGN() 0
+#define PMAP_PREFER_OFFSET(off) 0
+#define PMAP_PREFER(addr, off) (addr)
+#endif
+
#ifdef _KERNEL
__BEGIN_DECLS
#ifndef pmap_activate