nic_uio: fix thread structure compatibility for future FreeBSD
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 16 Jan 2015 12:24:13 +0000 (12:24 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 16 Jan 2015 13:43:16 +0000 (14:43 +0100)
commit01e66999efcb62efd5ed649045845f763e8b6379
tree591d32d03bc3b6552cea48ecb996e8f3096c85c9
parent950d15163a494faa13a98c7af9ffd131f06c4a2c
nic_uio: fix thread structure compatibility for future FreeBSD

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 <jhb@freebsd.org>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/nic_uio/nic_uio.c