aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/vhci.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-03-01 18:13:05 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-02 16:03:59 -0500
commit9720b4bc76a83807c68e00c62bfba575251bb73e (patch)
tree41794e9b5f715bf5ee52d428cadcf70ac773347b /drivers/staging/usbip/vhci.h
parent8c81161615feb8c666c675ec7a660dc9b011683f (diff)
staging/usbip: convert to kthread
usbip has its own infrastructure for managing kernel threads, similar to kthread. By changing it to use the standard functions, we can simplify the code and get rid of one of the last BKL users at the same time. Includes changes suggested by Max Vozeler. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> Cc: Max Vozeler <max@vozeler.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/vhci.h')
-rw-r--r--drivers/staging/usbip/vhci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/usbip/vhci.h b/drivers/staging/usbip/vhci.h
index afc3b1a7188..d3f1e5f8a96 100644
--- a/drivers/staging/usbip/vhci.h
+++ b/drivers/staging/usbip/vhci.h
@@ -113,8 +113,8 @@ extern struct attribute_group dev_attr_group;
113/* vhci_hcd.c */ 113/* vhci_hcd.c */
114void rh_port_connect(int rhport, enum usb_device_speed speed); 114void rh_port_connect(int rhport, enum usb_device_speed speed);
115void rh_port_disconnect(int rhport); 115void rh_port_disconnect(int rhport);
116void vhci_rx_loop(struct usbip_task *ut); 116int vhci_rx_loop(void *data);
117void vhci_tx_loop(struct usbip_task *ut); 117int vhci_tx_loop(void *data);
118 118
119struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, 119struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev,
120 __u32 seqnum); 120 __u32 seqnum);