diff options
author | Jesse Barnes <jbarnes@hobbes.lan> | 2008-06-12 13:51:05 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-12 13:51:05 -0700 |
commit | 883eed1b3e25fb1d7d8f32c6550cc1ac44888838 (patch) | |
tree | 387f080f51e4bdd96668ed59130f3439d68d0e64 /drivers/pci/pci-driver.c | |
parent | 5e70b7f3c24468bb1635b295945edb48ecd9656a (diff) | |
parent | 45aec1ae72fc592f231e9e73ed9ed4d10cfbc0b5 (diff) | |
download | op-kernel-dev-883eed1b3e25fb1d7d8f32c6550cc1ac44888838.zip op-kernel-dev-883eed1b3e25fb1d7d8f32c6550cc1ac44888838.tar.gz |
Merge branch 'pci-for-jesse' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip into for-linus
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 72cf61e..e1637bd 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -181,7 +181,7 @@ static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, any need to change it. */ struct mempolicy *oldpol; cpumask_t oldmask = current->cpus_allowed; - int node = pcibus_to_node(dev->bus); + int node = dev_to_node(&dev->dev); if (node >= 0) { node_to_cpumask_ptr(nodecpumask, node); |