diff options
Diffstat (limited to 'arch/arm/include/asm/mach/map.h')
| -rw-r--r-- | arch/arm/include/asm/mach/map.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h index a6efcdd6fd2..195ac2f9d3d 100644 --- a/arch/arm/include/asm/mach/map.h +++ b/arch/arm/include/asm/mach/map.h @@ -9,6 +9,9 @@   *   *  Page table mapping constructs and function prototypes   */ +#ifndef __ASM_MACH_MAP_H +#define __ASM_MACH_MAP_H +  #include <asm/io.h>  struct map_desc { @@ -34,6 +37,8 @@ struct map_desc {  #ifdef CONFIG_MMU  extern void iotable_init(struct map_desc *, int); +extern void vm_reserve_area_early(unsigned long addr, unsigned long size, +				  void *caller);  struct mem_type;  extern const struct mem_type *get_mem_type(unsigned int type); @@ -44,4 +49,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys,  			const struct mem_type *mtype);  #else  #define iotable_init(map,num)	do { } while (0) +#define vm_reserve_area_early(a,s,c)	do { } while (0) +#endif +  #endif  |