From: Rusty Russell Date: Wed, 31 Dec 2008 13:24:56 +0000 (+1030) Subject: PCI: work_on_cpu: use in drivers/pci/pci-driver.c X-Git-Tag: v2.6.29-rc1~181^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=873392ca514f87eae39f53b6944caf85b1a047cb;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed