diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-25 09:15:59 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-25 09:20:21 (GMT) |
commit | 56a459314a982bae75b9bce64bcca853d378ca7e (patch) | |
tree | 07d9121fb08229ebe2ac2f4420cec70434c7bbba /arch/arm/include/asm | |
parent | fc05505b77f7900a1bb74fb3f3a4343dee4265a4 (diff) | |
parent | 5c651ffaee6f07aa1f5e6d0763845a2ee606b6bd (diff) | |
download | linux-fsl-qoriq-56a459314a982bae75b9bce64bcca853d378ca7e.tar.xz |
Merge branch 'iommu' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git into devel
Diffstat (limited to 'arch/arm/include/asm')
-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 58cf91f..742c2aa 100644 --- a/arch/arm/include/asm/mach/map.h +++ b/arch/arm/include/asm/mach/map.h @@ -30,6 +30,14 @@ struct map_desc { #ifdef CONFIG_MMU extern void iotable_init(struct map_desc *, int); + +struct mem_type; +extern const struct mem_type *get_mem_type(unsigned int type); +/* + * external interface to remap single page with appropriate type + */ +extern int ioremap_page(unsigned long virt, unsigned long phys, + const struct mem_type *mtype); #else #define iotable_init(map,num) do { } while (0) #endif |