|
@@ -120,7 +120,7 @@ int devm_request_pci_bus_resources(struct device *dev,
|
|
|
EXPORT_SYMBOL_GPL(devm_request_pci_bus_resources);
|
|
|
|
|
|
static struct pci_bus_region pci_32_bit = {0, 0xffffffffULL};
|
|
|
-#ifdef CONFIG_PCI_BUS_ADDR_T_64BIT
|
|
|
+#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
|
|
|
static struct pci_bus_region pci_64_bit = {0,
|
|
|
(pci_bus_addr_t) 0xffffffffffffffffULL};
|
|
|
static struct pci_bus_region pci_high = {(pci_bus_addr_t) 0x100000000ULL,
|
|
@@ -230,7 +230,7 @@ int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res,
|
|
|
resource_size_t),
|
|
|
void *alignf_data)
|
|
|
{
|
|
|
-#ifdef CONFIG_PCI_BUS_ADDR_T_64BIT
|
|
|
+#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
|
|
|
int rc;
|
|
|
|
|
|
if (res->flags & IORESOURCE_MEM_64) {
|