summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-02-04 18:15:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-02-04 18:15:41 +0000
commit2bf5df3456d51e99af322c835139176c5bd0bd09 (patch)
tree8e82010cffcdae0dc493ca0c87ef6bbc65563a07
parentd1a198218dc2ea996e5af4fbed5c3bb9fed43bf5 (diff)
Define __HAVE_PMAP_MPSAFE_ENTER_COW; the ARMv8 architecture requires
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@
-rw-r--r--sys/arch/arm64/include/pmap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm64/include/pmap.h b/sys/arch/arm64/include/pmap.h
index c5911b909ca..5a655287bdd 100644
--- a/sys/arch/arm64/include/pmap.h
+++ b/sys/arch/arm64/include/pmap.h
@@ -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