]> git.baikalelectronics.ru Git - kernel.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)
commit8797c1c1536f71b7b338e58d62f66f89da9b6070
treee9012ae43fe5988c288074ee12fc4a0fc2f6b63a
parentad7b5d5f91326948fbede5200f49ff77e002c151
[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