From a1397960782efb736a0a3e5e76e9c6ae4d601c5c Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sun, 15 Jan 2006 11:52:22 -0700 Subject: [PATCH] --- yaml --- r: 19746 b: refs/heads/master c: 96629c0b111dbb31d14338a55b7f650e9c490284 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/parisc/kernel/pci.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ceaad74a76af..b5ac68ab9533 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10992092a8a6e445199f30e56789322851479019 +refs/heads/master: 96629c0b111dbb31d14338a55b7f650e9c490284 diff --git a/trunk/arch/parisc/kernel/pci.c b/trunk/arch/parisc/kernel/pci.c index d66d7cb1c0d9..79c7db2705fd 100644 --- a/trunk/arch/parisc/kernel/pci.c +++ b/trunk/arch/parisc/kernel/pci.c @@ -258,8 +258,10 @@ void __devinit pcibios_resource_to_bus(struct pci_dev *dev, void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, struct pci_bus_region *region) { +#ifdef CONFIG_64BIT struct pci_bus *bus = dev->bus; struct pci_hba_data *hba = HBA_DATA(bus->bridge->platform_data); +#endif if (res->flags & IORESOURCE_MEM) { res->start = PCI_HOST_ADDR(hba, region->start);