diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 23:54:56 +1030 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 11:13:09 -0800 |
commit | 873392ca514f87eae39f53b6944caf85b1a047cb (patch) | |
tree | 510d70a5a8efb122139f5ada4363b3f5985663a4 /drivers/pci/hotplug | |
parent | a79d682f789730dfabaebbb507c87a90c0671a62 (diff) |
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')
0 files changed, 0 insertions, 0 deletions