From ccfd886a1b36fe923137cf197c87f013a134a0ff Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 23 Oct 2020 06:24:38 +0000 Subject: [PATCH] Conditionally compile struct vm_phys_seg's md_first field. This field is only used by arm64's pmap. Reviewed by: kib, markj, scottph Differential Revision: https://reviews.freebsd.org/D26907 --- sys/vm/vm_phys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/vm/vm_phys.h b/sys/vm/vm_phys.h index c91e1aa77dc..497eee16c18 100644 --- a/sys/vm/vm_phys.h +++ b/sys/vm/vm_phys.h @@ -71,7 +71,9 @@ struct vm_phys_seg { #if VM_NRESERVLEVEL > 0 vm_reserv_t first_reserv; #endif +#ifdef __aarch64__ void *md_first; +#endif int domain; struct vm_freelist (*free_queues)[VM_NFREEPOOL][VM_NFREEORDER_MAX]; };