• T
    pciehp: update workqueue usage · a827ea30
    Tejun Heo 提交于
    * 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: NTejun Heo <tj@kernel.org>
    Acked-by: NJesse Barnes <jbarnes@virtuousgeek.org>
    a827ea30
pciehp_ctrl.c 14.5 KB