Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5983
b: refs/heads/master
c: d3813fc
h: refs/heads/master
i:
  5981: db12ff2
  5979: e9a1ffb
  5975: 588b83b
  5967: 78e61a0
  5951: 7cbd96e
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 24, 2005
1 parent 85231b7 commit 19b9f43
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 2bbfb16bf345acd81ab1e6e3d4b35964650517ac
refs/heads/master: d3813fcf105814d06b47fa586f6b61f3cff1cefc
13 changes: 11 additions & 2 deletions trunk/arch/x86_64/pci/k8-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,22 @@ fill_mp_bus_to_cpumask(void)
* if there are no busses hanging off of the current
* ldt link then both the secondary and subordinate
* bus number fields are set to 0.
*
* RED-PEN
* This is slightly broken because it assumes
* HT node IDs == Linux node ids, which is not always
* true. However it is probably mostly true.
*/
if (!(SECONDARY_LDT_BUS_NUMBER(ldtbus) == 0
&& SUBORDINATE_LDT_BUS_NUMBER(ldtbus) == 0)) {
for (j = SECONDARY_LDT_BUS_NUMBER(ldtbus);
j <= SUBORDINATE_LDT_BUS_NUMBER(ldtbus);
j++)
pci_bus_to_node[j] = NODE_ID(nid);
j++) {
int node = NODE_ID(nid);
if (!node_online(node))
node = 0;
pci_bus_to_node[j] = node;
}
}
}
}
Expand Down

0 comments on commit 19b9f43

Please sign in to comment.