diff options
Diffstat (limited to 'arch/arm/mach-realview/include/mach/memory.h')
-rw-r--r-- | arch/arm/mach-realview/include/mach/memory.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-realview/include/mach/memory.h b/arch/arm/mach-realview/include/mach/memory.h index 2417bbcf97f..5dafc157b27 100644 --- a/arch/arm/mach-realview/include/mach/memory.h +++ b/arch/arm/mach-realview/include/mach/memory.h | |||
@@ -30,10 +30,9 @@ | |||
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #if !defined(__ASSEMBLY__) && defined(CONFIG_ZONE_DMA) | 32 | #if !defined(__ASSEMBLY__) && defined(CONFIG_ZONE_DMA) |
33 | extern void realview_adjust_zones(int node, unsigned long *size, | 33 | extern void realview_adjust_zones(unsigned long *size, unsigned long *hole); |
34 | unsigned long *hole); | 34 | #define arch_adjust_zones(size, hole) \ |
35 | #define arch_adjust_zones(node, size, hole) \ | 35 | realview_adjust_zones(size, hole) |
36 | realview_adjust_zones(node, size, hole) | ||
37 | 36 | ||
38 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1) | 37 | #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_256M - 1) |
39 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) | 38 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_256M) |