diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-11 23:07:22 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-01-14 21:23:07 +0400 |
commit | d347e75847c1fb299c97736638f45e6ea39702d4 (patch) | |
tree | 7dfe6294b84f3cd1ba3cabe6b2cf7e040d8fa71c /drivers/pci/hotplug/shpchp.h | |
parent | 10959d72d401cec2781ca636b07d692c625e1c91 (diff) | |
download | linux-d347e75847c1fb299c97736638f45e6ea39702d4.tar.xz |
PCI: shpchp: Handle push button event asynchronously
Use non-ordered workqueue for attention button events.
Attention button events on each slot can be handled asynchronously. So
we should use non-ordered workqueue. This patch also removes ordered
workqueue in shpchp as a result.
486b10b9f4 ("PCI: pciehp: Handle push button event asynchronously") made
the same change to pciehp. I split this out from a patch by Yijing Wang
<wangyijing@huawei.com> so we fix one thing at a time and to make the
shpchp history correspond more closely with the pciehp history.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index ca64932e658b..1b69d955a31f 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h @@ -47,7 +47,6 @@ extern bool shpchp_poll_mode; extern int shpchp_poll_time; extern bool shpchp_debug; extern struct workqueue_struct *shpchp_wq; -extern struct workqueue_struct *shpchp_ordered_wq; #define dbg(format, arg...) \ do { \ |