• Tejun Heo's avatar
    pciehp: update workqueue usage · a827ea30
    Tejun Heo authored
    * Rename pciehp_wq to pciehp_ordered_wq and add non-ordered pciehp_wq
      which is used instead of the system workqueue.  This is to remove
      the use of flush_scheduled_work() which is deprecated and scheduled
      for removal.
    
    * With cmwq in place, there's no point in creating workqueues lazily.
      Create both pciehp_wq and pciehp_ordered_wq upfront.
    
    * Include workqueue.h from pciehp.h.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    a827ea30
pciehp_core.c 9.81 KB