Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165978
b: refs/heads/master
c: 7715a1e
h: refs/heads/master
v: v3
  • Loading branch information
David Rientjes authored and Jesse Barnes committed Sep 18, 2009
1 parent d03b777 commit 4c02b37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: be3652b8a253346339ce32501dd48fb033258936
refs/heads/master: 7715a1e887c5dedc9cf1e57a8f35df261c749b08
6 changes: 5 additions & 1 deletion trunk/arch/x86/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ static inline int __pcibus_to_node(const struct pci_bus *bus)
static inline const struct cpumask *
cpumask_of_pcibus(const struct pci_bus *bus)
{
return cpumask_of_node(__pcibus_to_node(bus));
int node;

node = __pcibus_to_node(bus);
return (node == -1) ? cpu_online_mask :
cpumask_of_node(node);
}
#endif

Expand Down

0 comments on commit 4c02b37

Please sign in to comment.