Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70965
b: refs/heads/master
c: f6855f7
h: refs/heads/master
i:
  70963: 9928489
v: v3
  • Loading branch information
Yinghai Lu authored and Thomas Gleixner committed Oct 17, 2007
1 parent 59e05e8 commit d5bc6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f8ae1a7d4e7e2628cd875d0811ca5cbff012bc2
refs/heads/master: f6855f7fb2e22c5675d292dd445ee3c1fc09ac18
8 changes: 3 additions & 5 deletions trunk/arch/x86/kernel/pci-dma_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
{
struct page *page;
int node;
#ifdef CONFIG_PCI
if (dev->bus == &pci_bus_type)
node = pcibus_to_node(to_pci_dev(dev)->bus);
else
#endif

node = dev_to_node(dev);
if (node == -1)
node = numa_node_id();

if (node < first_node(node_online_map))
Expand Down

0 comments on commit d5bc6ca

Please sign in to comment.