svn commit: r366960 - head/sys/vm

Alan Cox alc at FreeBSD.org
Fri Oct 23 06:24:38 UTC 2020


Author: alc
Date: Fri Oct 23 06:24:38 2020
New Revision: 366960
URL: https://svnweb.freebsd.org/changeset/base/366960

Log:
  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

Modified:
  head/sys/vm/vm_phys.h

Modified: head/sys/vm/vm_phys.h
==============================================================================
--- head/sys/vm/vm_phys.h	Fri Oct 23 02:24:43 2020	(r366959)
+++ head/sys/vm/vm_phys.h	Fri Oct 23 06:24:38 2020	(r366960)
@@ -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];
 };


More information about the svn-src-head mailing list