diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index b6d08738180b..6828df4afd99 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -1429,7 +1429,7 @@ long sys_pciconfig_iobase(long which, unsigned long in_bus, | |||
1429 | 1429 | ||
1430 | for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) { | 1430 | for (ln = pci_root_buses.next; ln != &pci_root_buses; ln = ln->next) { |
1431 | bus = pci_bus_b(ln); | 1431 | bus = pci_bus_b(ln); |
1432 | if (in_bus >= bus->number && in_bus < (bus->number + bus->subordinate)) | 1432 | if (in_bus >= bus->number && in_bus <= bus->subordinate) |
1433 | break; | 1433 | break; |
1434 | bus = NULL; | 1434 | bus = NULL; |
1435 | } | 1435 | } |