From: kettenis Date: Fri, 4 Feb 2022 18:15:40 +0000 (+0000) Subject: Define __HAVE_PMAP_MPSAFE_ENTER_COW; the ARMv8 architecture requires X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4180f27854f914fd7c957e1088d4f99d7068e7da;p=openbsd 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@ --- 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 * @@ -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