summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-12-31 23:54:56 +1030
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 11:13:09 -0800
commit873392ca514f87eae39f53b6944caf85b1a047cb (patch)
tree510d70a5a8efb122139f5ada4363b3f5985663a4 /drivers/pci/hotplug/pciehp.h
parenta79d682f789730dfabaebbb507c87a90c0671a62 (diff)
downloadop-kernel-dev-873392ca514f87eae39f53b6944caf85b1a047cb.zip
op-kernel-dev-873392ca514f87eae39f53b6944caf85b1a047cb.tar.gz
PCI: work_on_cpu: use in drivers/pci/pci-driver.c
This uses work_on_cpu(), rather than altering the cpumask of the thread which we happen to be. Note the cleanups: 1) I've removed the CONFIG_NUMA test, since dev_to_node() returns -1 for !CONFIG_NUMA anyway and the compiler will eliminate it. 2) No need to reset mempolicy to default (a bad idea anyway) since work_on_cpu is run from a workqueue. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud