Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11219
b: refs/heads/master
c: 9dbdfce
h: refs/heads/master
i:
  11217: a480d7f
  11215: 01a90ba
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 62c2d20 commit 51a1b95
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26a940e21752e0de8f068f77dad606a7d1986937
refs/heads/master: 9dbdfce85c165faa45509ca3b18deaa5f9dfbc12
7 changes: 7 additions & 0 deletions trunk/arch/mips/pci/pci-ip27.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,5 +485,12 @@ static void __init pci_fixup_ioc3(struct pci_dev *d)
pci_disable_swapping(d);
}

int pcibus_to_node(struct pci_bus *bus)
{
struct bridge_controller *bc = BRIDGE_CONTROLLER(bus);

return bc->nasid;
}

DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SGI, PCI_DEVICE_ID_SGI_IOC3,
pci_fixup_ioc3);
3 changes: 3 additions & 0 deletions trunk/include/asm-mips/mach-ip27/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
#define parent_node(node) (node)
#define node_to_cpumask(node) (hub_data(node)->h_cpus)
#define node_to_first_cpu(node) (first_cpu(node_to_cpumask(node)))
struct pci_bus;
extern int pcibus_to_node(struct pci_bus *);

#define pcibus_to_cpumask(bus) (cpu_online_map)

extern unsigned char __node_distances[MAX_COMPACT_NODES][MAX_COMPACT_NODES];
Expand Down

0 comments on commit 51a1b95

Please sign in to comment.