Replace 'd_thread_t' with 'struct thread'. This patch has been accepted

upstream.

PR:		196691
Approved by:	maintainer
This commit is contained in:
John Baldwin 2015-01-29 15:25:36 +00:00
parent 31176491f7
commit 9d7f44a80b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378121

View File

@ -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;
}