]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] mm 10: allow memory type to be specified with ioremap
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 5 May 2007 19:59:27 +0000 (20:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 5 May 2007 19:59:27 +0000 (20:59 +0100)
commit3603ab2b62ad8372fc93816b080b370dd55d7cec
treee9012ae43fe5988c288074ee12fc4a0fc2f6b63a
parent0af92befeb4b330c46cce6b520b2cc775cd6931f
[ARM] mm 10: allow memory type to be specified with ioremap

__ioremap() took a set of page table flags (specifically the cacheable
and bufferable bits) to control the mapping type.  However, with
the advent of ARMv6, this is far too limited.

Replace the page table flags with a memory type index, so that the
desired attributes can be selected from the mem_type table.

Finally, to prevent silent miscompilation due to the differing
arguments, rename the __ioremap() and __ioremap_pfn() functions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop13xx/io.c
arch/arm/mach-iop13xx/pci.c
arch/arm/mm/ioremap.c
arch/arm/mm/nommu.c
arch/arm/plat-iop/io.c
include/asm-arm/arch-ixp23xx/io.h
include/asm-arm/arch-ixp4xx/io.h
include/asm-arm/io.h
include/asm-arm/mach/map.h