Commit fb89fcfb authored by Nicolas Pitre's avatar Nicolas Pitre

ARM: ARM_DMA_ZONE_SIZE is no more

One less dependency on mach/memory.h.
Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent fded1ef9
#ifndef __ASM_ARM_DMA_H #ifndef __ASM_ARM_DMA_H
#define __ASM_ARM_DMA_H #define __ASM_ARM_DMA_H
#include <asm/memory.h>
/* /*
* This is the maximum virtual address which can be DMA'd from. * This is the maximum virtual address which can be DMA'd from.
*/ */
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <asm/sizes.h> #include <asm/sizes.h>
#include <asm/tlb.h> #include <asm/tlb.h>
#include <asm/fixmap.h> #include <asm/fixmap.h>
#include <asm/memory.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
...@@ -214,11 +213,7 @@ static void __init arm_bootmem_init(unsigned long start_pfn, ...@@ -214,11 +213,7 @@ static void __init arm_bootmem_init(unsigned long start_pfn,
#ifdef CONFIG_ZONE_DMA #ifdef CONFIG_ZONE_DMA
#ifdef ARM_DMA_ZONE_SIZE
unsigned long arm_dma_zone_size = ARM_DMA_ZONE_SIZE;
#else
unsigned long arm_dma_zone_size __read_mostly; unsigned long arm_dma_zone_size __read_mostly;
#endif
EXPORT_SYMBOL(arm_dma_zone_size); EXPORT_SYMBOL(arm_dma_zone_size);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment