Skip to content

Commit

Permalink
ARM: ARM_DMA_ZONE_SIZE is no more
Browse files Browse the repository at this point in the history
One less dependency on mach/memory.h.

Signed-off-by: Nicolas Pitre <[email protected]>
  • Loading branch information
npitre committed Jul 18, 2011
1 parent fded1ef commit fb89fcf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions arch/arm/include/asm/dma.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __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.
*/
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <asm/sizes.h>
#include <asm/tlb.h>
#include <asm/fixmap.h>
#include <asm/memory.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
Expand Down Expand Up @@ -214,11 +213,7 @@ static void __init arm_bootmem_init(unsigned long start_pfn,

#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;
#endif
EXPORT_SYMBOL(arm_dma_zone_size);

/*
Expand Down

0 comments on commit fb89fcf

Please sign in to comment.