From: miod Date: Thu, 16 Feb 2023 20:32:39 +0000 (+0000) Subject: Remove obsolete __HAVE_VM_PAGE_MD define - all platforms provide vm_page_md X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=97db32cecf9e9c265366ede3ae17cf047689608c;p=openbsd Remove obsolete __HAVE_VM_PAGE_MD define - all platforms provide vm_page_md those days, and nothing checks for that symbol anymore. --- diff --git a/sys/arch/arm64/include/pmap.h b/sys/arch/arm64/include/pmap.h index cdb9685beb7..89fa7cdd5e3 100644 --- a/sys/arch/arm64/include/pmap.h +++ b/sys/arch/arm64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.21 2022/11/21 20:19:21 kettenis Exp $ */ +/* $OpenBSD: pmap.h,v 1.22 2023/02/16 20:32:39 miod Exp $ */ /* * Copyright (c) 2008,2009,2014 Dale Rahn * @@ -117,7 +117,6 @@ void pmap_postinit(void); #endif /* _KERNEL && !_LOCORE */ #ifndef _LOCORE -#define __HAVE_VM_PAGE_MD struct vm_page_md { struct mutex pv_mtx; LIST_HEAD(,pte_desc) pv_list; diff --git a/sys/arch/riscv64/include/pmap.h b/sys/arch/riscv64/include/pmap.h index 8f111381567..8a32bba9ea1 100644 --- a/sys/arch/riscv64/include/pmap.h +++ b/sys/arch/riscv64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.6 2021/05/16 03:29:35 jsg Exp $ */ +/* $OpenBSD: pmap.h,v 1.7 2023/02/16 20:32:39 miod Exp $ */ /* * Copyright (c) 2019-2020 Brian Bamsch @@ -116,7 +116,6 @@ void pmap_postinit(void); #endif /* _KERNEL && !_LOCORE */ #ifndef _LOCORE -#define __HAVE_VM_PAGE_MD struct vm_page_md { struct mutex pv_mtx; LIST_HEAD(,pte_desc) pv_list;