Commit 13d36c24 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

PCI: fix up setup-bus.c #ifdef

Use upper_32_bits(): no code changes, one less ifdef.
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6e4be1ff
...@@ -206,10 +206,8 @@ pci_setup_bridge(struct pci_bus *bus) ...@@ -206,10 +206,8 @@ pci_setup_bridge(struct pci_bus *bus)
if (bus->resource[2]->flags & IORESOURCE_PREFETCH) { if (bus->resource[2]->flags & IORESOURCE_PREFETCH) {
l = (region.start >> 16) & 0xfff0; l = (region.start >> 16) & 0xfff0;
l |= region.end & 0xfff00000; l |= region.end & 0xfff00000;
#ifdef CONFIG_RESOURCES_64BIT bu = upper_32_bits(region.start);
bu = region.start >> 32; lu = upper_32_bits(region.end);
lu = region.end >> 32;
#endif
DBG(KERN_INFO " PREFETCH window: 0x%016llx-0x%016llx\n", DBG(KERN_INFO " PREFETCH window: 0x%016llx-0x%016llx\n",
(unsigned long long)region.start, (unsigned long long)region.start,
(unsigned long long)region.end); (unsigned long long)region.end);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment