projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: replace struct pci_bus secondary/subordinate with busn_res
[linux-2.6-block.git]
/
arch
/
powerpc
/
kernel
/
pci_64.c
diff --git
a/arch/powerpc/kernel/pci_64.c
b/arch/powerpc/kernel/pci_64.c
index 94a54f61d341d3363d8bd9b9365964e73aee1346..4ff190ff24a029c84c7d6b4320400d252f27d620 100644
(file)
--- a/
arch/powerpc/kernel/pci_64.c
+++ b/
arch/powerpc/kernel/pci_64.c
@@
-236,7
+236,7
@@
long sys_pciconfig_iobase(long which, unsigned long in_bus,
for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) {
bus = pci_bus_b(ln);
- if (in_bus >= bus->number && in_bus <= bus->
subordinate
)
+ if (in_bus >= bus->number && in_bus <= bus->
busn_res.end
)
break;
bus = NULL;
}