]> Git Repo - linux.git/commitdiff
Merge tag 'wq-for-6.9-bh-conversions' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <[email protected]>
Mon, 11 Mar 2024 20:05:19 +0000 (13:05 -0700)
committerLinus Torvalds <[email protected]>
Mon, 11 Mar 2024 20:05:19 +0000 (13:05 -0700)
Pull workqueue BH conversions from Tejun Heo:
 "This contains two patches that convert tasklet users to BH workqueues:
  backtracetest and usb hcd.

  DM conversions are being routed through the respective subsystem tree.
  Hopefully, the next cycle will see a lot more conversions"

* tag 'wq-for-6.9-bh-conversions' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
  usb: core: hcd: Convert from tasklet to BH workqueue
  backtracetest: Convert from tasklet to BH workqueue

1  2 
include/linux/usb/hcd.h

diff --combined include/linux/usb/hcd.h
index cd77fc6095a15b5f8d313179436fc8b33efbc769,f698aac71de35442b280d23059a0e91d3962e3d4..ac95e7c89df58ace92ed4c1b401f72cbc3857d20
@@@ -55,7 -55,7 +55,7 @@@ struct giveback_urb_bh 
        bool high_prio;
        spinlock_t lock;
        struct list_head  head;
-       struct tasklet_struct bh;
+       struct work_struct bh;
        struct usb_host_endpoint *completing_ep;
  };
  
@@@ -372,9 -372,8 +372,9 @@@ struct hc_driver 
                 * or bandwidth constraints.
                 */
        void    (*reset_bandwidth)(struct usb_hcd *, struct usb_device *);
 -              /* Returns the hardware-chosen device address */
 -      int     (*address_device)(struct usb_hcd *, struct usb_device *udev);
 +              /* Set the hardware-chosen device address */
 +      int     (*address_device)(struct usb_hcd *, struct usb_device *udev,
 +                                unsigned int timeout_ms);
                /* prepares the hardware to send commands to the device */
        int     (*enable_device)(struct usb_hcd *, struct usb_device *udev);
                /* Notifies the HCD after a hub descriptor is fetched.
This page took 0.070918 seconds and 4 git commands to generate.