From 9d7f44a80b937f9eeff0b737f537890d3856eccc Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 29 Jan 2015 15:25:36 +0000 Subject: [PATCH] Replace 'd_thread_t' with 'struct thread'. This patch has been accepted upstream. PR: 196691 Approved by: maintainer --- ...tch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net/dpdk/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c diff --git a/net/dpdk/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c b/net/dpdk/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c new file mode 100644 index 000000000000..54c0b2a1cba4 --- /dev/null +++ b/net/dpdk/files/patch-lib-librte_eal-bsdapp-nic_uio-nic_uio.c @@ -0,0 +1,18 @@ +--- lib/librte_eal/bsdapp/nic_uio/nic_uio.c.orig 2015-01-09 11:56:48.000000000 -0500 ++++ lib/librte_eal/bsdapp/nic_uio/nic_uio.c 2015-01-09 11:57:05.000000000 -0500 +@@ -175,13 +175,13 @@ + + + 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; + }