diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-05-25 05:15:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-25 05:20:21 -0400 |
commit | 56a459314a982bae75b9bce64bcca853d378ca7e (patch) | |
tree | 07d9121fb08229ebe2ac2f4420cec70434c7bbba /arch/arm/mm | |
parent | fc05505b77f7900a1bb74fb3f3a4343dee4265a4 (diff) | |
parent | 5c651ffaee6f07aa1f5e6d0763845a2ee606b6bd (diff) |
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/mm')
-rw-r--r-- | arch/arm/mm/ioremap.c | 6 | ||||
-rw-r--r-- | arch/arm/mm/mmu.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c index 9f88dd3be601..0ab75c60f7cf 100644 --- a/arch/arm/mm/ioremap.c +++ b/arch/arm/mm/ioremap.c | |||
@@ -110,6 +110,12 @@ static int remap_area_pages(unsigned long start, unsigned long pfn, | |||
110 | return err; | 110 | return err; |
111 | } | 111 | } |
112 | 112 | ||
113 | int ioremap_page(unsigned long virt, unsigned long phys, | ||
114 | const struct mem_type *mtype) | ||
115 | { | ||
116 | return remap_area_pages(virt, __phys_to_pfn(phys), PAGE_SIZE, mtype); | ||
117 | } | ||
118 | EXPORT_SYMBOL(ioremap_page); | ||
113 | 119 | ||
114 | void __check_kvm_seq(struct mm_struct *mm) | 120 | void __check_kvm_seq(struct mm_struct *mm) |
115 | { | 121 | { |
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index e6344ece00ce..70974d75a075 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -255,6 +255,7 @@ const struct mem_type *get_mem_type(unsigned int type) | |||
255 | { | 255 | { |
256 | return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; | 256 | return type < ARRAY_SIZE(mem_types) ? &mem_types[type] : NULL; |
257 | } | 257 | } |
258 | EXPORT_SYMBOL(get_mem_type); | ||
258 | 259 | ||
259 | /* | 260 | /* |
260 | * Adjust the PMD section entries according to the CPU in use. | 261 | * Adjust the PMD section entries according to the CPU in use. |