[ARM] mm 2: clean up create_mapping()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Apr 2007 09:05:32 +0000 (10:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:35:48 +0000 (20:35 +0100)
commitd5c98176ef34b8b78645646593c17e10f62f53ff
tree33860fb055b89abb538506b0fecba77709d19314
parent2497f0a8125e307cf1fd4222bab53f66305eba27
[ARM] mm 2: clean up create_mapping()

There's now no need to carry around each protection separately.
Instead, pass around the pointer to the entry in the mem_types
array which we're interested in.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c