From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id E27A55A9E for ; Wed, 21 Jan 2015 21:58:30 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YE2M3-0007Ae-GG; Wed, 21 Jan 2015 15:58:27 -0500 From: Neil Horman To: dev@dpdk.org Date: Wed, 21 Jan 2015 15:57:34 -0500 Message-Id: <1421873870-21754-10-git-send-email-nhorman@tuxdriver.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1421873870-21754-1-git-send-email-nhorman@tuxdriver.com> References: <1419109299-9603-1-git-send-email-nhorman@tuxdriver.com> <1421873870-21754-1-git-send-email-nhorman@tuxdriver.com> X-Spam-Score: -2.9 (--) X-Spam-Status: No Subject: [dpdk-dev] [PATCH v7 10/26] nic_uio: fix thread structure compatibility for future FreeBSD 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: Wed, 21 Jan 2015 20:58:31 -0000 From: Bruce Richardson Replace d_thread_t with struct thread in nic_uio. 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" Reported-by: John Baldwin 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