diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/common-pci.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/include/mach/memory.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-ixp4xx/common-pci.c b/arch/arm/mach-ixp4xx/common-pci.c index e3181534c7f9..61cd4d64b985 100644 --- a/arch/arm/mach-ixp4xx/common-pci.c +++ b/arch/arm/mach-ixp4xx/common-pci.c | |||
@@ -348,7 +348,7 @@ int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) | |||
348 | * This is really ugly and we need a better way of specifying | 348 | * This is really ugly and we need a better way of specifying |
349 | * DMA-capable regions of memory. | 349 | * DMA-capable regions of memory. |
350 | */ | 350 | */ |
351 | void __init ixp4xx_adjust_zones(int node, unsigned long *zone_size, | 351 | void __init ixp4xx_adjust_zones(unsigned long *zone_size, |
352 | unsigned long *zhole_size) | 352 | unsigned long *zhole_size) |
353 | { | 353 | { |
354 | unsigned int sz = SZ_64M >> PAGE_SHIFT; | 354 | unsigned int sz = SZ_64M >> PAGE_SHIFT; |
@@ -356,7 +356,7 @@ void __init ixp4xx_adjust_zones(int node, unsigned long *zone_size, | |||
356 | /* | 356 | /* |
357 | * Only adjust if > 64M on current system | 357 | * Only adjust if > 64M on current system |
358 | */ | 358 | */ |
359 | if (node || (zone_size[0] <= sz)) | 359 | if (zone_size[0] <= sz) |
360 | return; | 360 | return; |
361 | 361 | ||
362 | zone_size[1] = zone_size[0] - sz; | 362 | zone_size[1] = zone_size[0] - sz; |
@@ -382,7 +382,8 @@ void __init ixp4xx_pci_preinit(void) | |||
382 | 382 | ||
383 | 383 | ||
384 | /* hook in our fault handler for PCI errors */ | 384 | /* hook in our fault handler for PCI errors */ |
385 | hook_fault_code(16+6, abort_handler, SIGBUS, "imprecise external abort"); | 385 | hook_fault_code(16+6, abort_handler, SIGBUS, 0, |
386 | "imprecise external abort"); | ||
386 | 387 | ||
387 | pr_debug("setup PCI-AHB(inbound) and AHB-PCI(outbound) address mappings\n"); | 388 | pr_debug("setup PCI-AHB(inbound) and AHB-PCI(outbound) address mappings\n"); |
388 | 389 | ||
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 71728d36d501..0bce09799d18 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/tty.h> | 21 | #include <linux/tty.h> |
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <linux/serial_core.h> | 23 | #include <linux/serial_core.h> |
24 | #include <linux/bootmem.h> | ||
25 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
26 | #include <linux/bitops.h> | 25 | #include <linux/bitops.h> |
27 | #include <linux/time.h> | 26 | #include <linux/time.h> |
diff --git a/arch/arm/mach-ixp4xx/include/mach/memory.h b/arch/arm/mach-ixp4xx/include/mach/memory.h index 98f5e5e20980..0136eaa29224 100644 --- a/arch/arm/mach-ixp4xx/include/mach/memory.h +++ b/arch/arm/mach-ixp4xx/include/mach/memory.h | |||
@@ -16,10 +16,10 @@ | |||
16 | 16 | ||
17 | #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI) | 17 | #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI) |
18 | 18 | ||
19 | void ixp4xx_adjust_zones(int node, unsigned long *size, unsigned long *holes); | 19 | void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes); |
20 | 20 | ||
21 | #define arch_adjust_zones(node, size, holes) \ | 21 | #define arch_adjust_zones(size, holes) \ |
22 | ixp4xx_adjust_zones(node, size, holes) | 22 | ixp4xx_adjust_zones(size, holes) |
23 | 23 | ||
24 | #define ISA_DMA_THRESHOLD (SZ_64M - 1) | 24 | #define ISA_DMA_THRESHOLD (SZ_64M - 1) |
25 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M) | 25 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M) |