[dpdk-dev] [PATCH] contigmem: include <sys/vmmeter.h> to fix FreeBSD build
Bruce Richardson
bruce.richardson at intel.com
Thu Nov 30 10:56:58 CET 2017
On Thu, Nov 30, 2017 at 02:00:38PM +0800, kefu chai wrote:
> otherwise the build fails with
>
> In file included from contigmem.c:57:
> /usr/srcs/head/src/sys/vm/vm_phys.h:122:10: error: use of undeclared
> identifier 'vm_cnt'
> return (vm_cnt.v_free_count += adj);
> ^
> 1 error generated.
> *** Error code 1
>
> Signed-off-by: Kefu Chai <tchaikov at gmail.com>
> ---
Hi,
what version of FreeBSD does this error occur on? Though it's been a few
weeks since I last tested, I haven't seen it before on other FreeBSD 10
or 11.
Regards,
/Bruce
More information about the dev
mailing list