• Tejun Heo's avatar
    shpchp: update workqueue usage · e24dcbef
    Tejun Heo authored
    * Rename shpchp_wq to shpchp_ordered_wq and add non-ordered shpchp_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 shpchp_wq and shpchp_ordered_wq upfront.
    
    * Include workqueue.h from shpchp.h.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    e24dcbef
shpchp.h 11.1 KB