summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_process.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-08-16 14:13:55 +0000
committerthompsa <thompsa@FreeBSD.org>2009-08-16 14:13:55 +0000
commit5176f40a2845db311fcc49d85903a6bd8d27fc67 (patch)
treecd2fa5bb9c9491e0eebff225d6d85ceb66113345 /sys/dev/usb/usb_process.h
parentb4deaa79448cabef0b0928c695ef20fb95a034d6 (diff)
downloadFreeBSD-src-5176f40a2845db311fcc49d85903a6bd8d27fc67.zip
FreeBSD-src-5176f40a2845db311fcc49d85903a6bd8d27fc67.tar.gz
Change the usb workers from kernel processes to threads, this is mostly a
cosmetic change to reduce cruft in the proc table. Also change the idle wait message to `-` like how taskqueues are. Reviewed by: julian Approved by: re (kib)
Diffstat (limited to 'sys/dev/usb/usb_process.h')
-rw-r--r--sys/dev/usb/usb_process.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_process.h b/sys/dev/usb/usb_process.h
index c717dc1..71432c3 100644
--- a/sys/dev/usb/usb_process.h
+++ b/sys/dev/usb/usb_process.h
@@ -49,7 +49,11 @@ struct usb_process {
struct cv up_cv;
struct cv up_drain;
+#if (__FreeBSD_version >= 800000)
+ struct thread *up_ptr;
+#else
struct proc *up_ptr;
+#endif
struct thread *up_curtd;
struct mtx *up_mtx;
OpenPOWER on IntegriCloud