[ARM] 3705/1: add supersection support to ioremap()

Patch from Lennert Buytenhek

Analogous to the previous patch that allows ioremap() to use section
mappings, this patch allows ioremap() to use supersection mappings.
Original patch by Deepak Saxena.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Lennert Buytenhek
2006-07-01 19:58:20 +01:00
committed by Russell King
parent ae95bfbb2b
commit a069c896d0
2 changed files with 65 additions and 5 deletions

View File

@@ -69,9 +69,9 @@
#define XIP_VIRT_ADDR(physaddr) (MODULE_START + ((physaddr) & 0x000fffff))
/*
* Allow 2MB-aligned ioremap pages
* Allow 16MB-aligned ioremap pages
*/
#define IOREMAP_MAX_ORDER 21
#define IOREMAP_MAX_ORDER 24
#else /* CONFIG_MMU */