Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178890
b: refs/heads/master
c: 6be954d
h: refs/heads/master
v: v3
  • Loading branch information
David John authored and Jesse Barnes committed Jan 4, 2010
1 parent 6f26fb4 commit e977773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 46256f83d0d066f99ffde547f27473dfd2a78009
refs/heads/master: 6be954d1f91b81ca85c74792b13654069278c577
6 changes: 4 additions & 2 deletions trunk/drivers/pci/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static ssize_t local_cpus_show(struct device *dev,
int len;

#ifdef CONFIG_NUMA
mask = cpumask_of_node(dev_to_node(dev));
mask = (dev_to_node(dev) == -1) ? cpu_online_mask :
cpumask_of_node(dev_to_node(dev));
#else
mask = cpumask_of_pcibus(to_pci_dev(dev)->bus);
#endif
Expand All @@ -93,7 +94,8 @@ static ssize_t local_cpulist_show(struct device *dev,
int len;

#ifdef CONFIG_NUMA
mask = cpumask_of_node(dev_to_node(dev));
mask = (dev_to_node(dev) == -1) ? cpu_online_mask :
cpumask_of_node(dev_to_node(dev));
#else
mask = cpumask_of_pcibus(to_pci_dev(dev)->bus);
#endif
Expand Down

0 comments on commit e977773

Please sign in to comment.