Author: jeff Date: Sun Aug 18 07:43:15 2019 New Revision: 351182 URL: https://svnweb.freebsd.org/changeset/base/351182
Log: vm_phys_avail_find is only used on NUMA kernels. Fix a build error. Modified: head/sys/vm/vm_phys.c Modified: head/sys/vm/vm_phys.c ============================================================================== --- head/sys/vm/vm_phys.c Sun Aug 18 07:06:31 2019 (r351181) +++ head/sys/vm/vm_phys.c Sun Aug 18 07:43:15 2019 (r351182) @@ -1538,6 +1538,7 @@ vm_phys_avail_check(int i) /* * Return the index of an overlapping phys_avail entry or -1. */ +#ifdef NUMA static int vm_phys_avail_find(vm_paddr_t pa) { @@ -1548,6 +1549,7 @@ vm_phys_avail_find(vm_paddr_t pa) return (i); return (-1); } +#endif /* * Return the index of the largest entry. _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"