]> git.karo-electronics.de Git - linux-beck.git/commit
pciehp: update workqueue usage
authorTejun Heo <tj@kernel.org>
Mon, 18 Oct 2010 06:31:02 +0000 (08:31 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 18 Oct 2010 06:31:02 +0000 (08:31 +0200)
commita827ea307b147aeb050803433b3f6842582c6ced
treed87c0e0b2acd5a966d402597e9d94af5c527118e
parent7bf4a5ddc9fbff52855cad8d4d74bf5344fe8093
pciehp: update workqueue usage

* 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: Tejun Heo <tj@kernel.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c