diff options
Diffstat (limited to 'arch/arm/mach-realview/core.c')
-rw-r--r-- | arch/arm/mach-realview/core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index 595be19f8ad..1195e07c548 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c | |||
@@ -61,12 +61,11 @@ void __iomem *gic_cpu_base_addr; | |||
61 | /* | 61 | /* |
62 | * Adjust the zones if there are restrictions for DMA access. | 62 | * Adjust the zones if there are restrictions for DMA access. |
63 | */ | 63 | */ |
64 | void __init realview_adjust_zones(int node, unsigned long *size, | 64 | void __init realview_adjust_zones(unsigned long *size, unsigned long *hole) |
65 | unsigned long *hole) | ||
66 | { | 65 | { |
67 | unsigned long dma_size = SZ_256M >> PAGE_SHIFT; | 66 | unsigned long dma_size = SZ_256M >> PAGE_SHIFT; |
68 | 67 | ||
69 | if (!machine_is_realview_pbx() || node || (size[0] <= dma_size)) | 68 | if (!machine_is_realview_pbx() || size[0] <= dma_size) |
70 | return; | 69 | return; |
71 | 70 | ||
72 | size[ZONE_NORMAL] = size[0] - dma_size; | 71 | size[ZONE_NORMAL] = size[0] - dma_size; |