Define __HAVE_PMAP_MPSAFE_ENTER_COW; the ARMv8 architecture requires
authorkettenis <kettenis@openbsd.org>
Fri, 4 Feb 2022 18:15:40 +0000 (18:15 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 4 Feb 2022 18:15:40 +0000 (18:15 +0000)
that we implement proper "break-before-make" semantics and I've stared
at the code for long enough that I've convinced myself that we do indeed
implement this correctly several times.

ok guenther@

sys/arch/arm64/include/pmap.h

index c5911b9..5a65528 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.18 2021/05/16 03:30:33 jsg Exp $ */
+/* $OpenBSD: pmap.h,v 1.19 2022/02/04 18:15:40 kettenis Exp $ */
 /*
  * Copyright (c) 2008,2009,2014 Dale Rahn <drahn@dalerahn.com>
  *
@@ -112,6 +112,8 @@ int pmap_fault_fixup(pmap_t, vaddr_t, vm_prot_t);
 void pmap_postinit(void);
 void   pmap_map_early(paddr_t, psize_t);
 
+#define __HAVE_PMAP_MPSAFE_ENTER_COW
+
 #endif /* _KERNEL && !_LOCORE */
 
 #ifndef _LOCORE