From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 95B7E2C28 for ; Fri, 1 Dec 2017 14:20:10 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Dec 2017 05:20:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,344,1508828400"; d="scan'208";a="182817044" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.35]) by fmsmga006.fm.intel.com with SMTP; 01 Dec 2017 05:20:07 -0800 Received: by (sSMTP sendmail emulation); Fri, 01 Dec 2017 13:20:07 +0000 Date: Fri, 1 Dec 2017 13:20:06 +0000 From: Bruce Richardson To: kefu chai Cc: dev@dpdk.org Message-ID: <20171201132006.GB2552@bricha3-MOBL3.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.1 (2017-09-22) Subject: Re: [dpdk-dev] [PATCH] contigmem: include to fix FreeBSD build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 13:20:11 -0000 On Fri, Dec 01, 2017 at 07:22:39PM +0800, kefu chai wrote: > otherwise the build fails with FreeBSD 12, like > > 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 > --- As before: Acked-by: Bruce Richardson NOTE: for minor changes to patches, feel free to include an acked-by tag on the patch submission if the previous version had already been acked. Also, it's good practice to have updated versions marked with a V2 number and posted in reply to the original submission. See dev page on dpdk.org for more details. http://dpdk.org/dev/