From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 368945686 for ; Fri, 16 Jan 2015 13:24:17 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 16 Jan 2015 04:24:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,410,1418112000"; d="scan'208";a="671028166" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 16 Jan 2015 04:24:15 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t0GCOEQt009763; Fri, 16 Jan 2015 12:24:14 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t0GCOEj5024100; Fri, 16 Jan 2015 12:24:14 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t0GCODJY024096; Fri, 16 Jan 2015 12:24:13 GMT From: Bruce Richardson To: dev@dpdk.org Date: Fri, 16 Jan 2015 12:24:13 +0000 Message-Id: <1421411053-24061-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] bsdapp: replace d_thread_t with struct thread in nic_uio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 12:24:17 -0000 Reported by: John Baldwin Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196691 Quote: "The d_thread_t typedef is a compat shim to support FreeBSD 4.x. I'm planning to remove this shim from 11 and dpdk is very unlikely to ever be ported to 4.x. If it does it will need far more changes than just d_thread_t" Signed-off-by: Bruce Richardson --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c index ed11d84..5ae8560 100644 --- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c +++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c @@ -175,13 +175,13 @@ nic_uio_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size, int -nic_uio_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +nic_uio_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { return 0; } int -nic_uio_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +nic_uio_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { return 0; } -- 2.1.0