Skip to content
Commit 3603ab2b authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 0af92bef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment