[ARM] mm 1: Combine mem_type domain into prot_* at init time
commit2497f0a8125e307cf1fd4222bab53f66305eba27
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Apr 2007 08:59:44 +0000 (21 09:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:35:44 +0000 (21 20:35 +0100)
tree44973e86c9b5c4f471586acf0207ab13ccb1f6d8
parent235b185ce47ce64793362bd3ae4bcd8afc6b57b8
[ARM] mm 1: Combine mem_type domain into prot_* at init time

Rather than combining the domain for a particular memory type with
the protection information each time we want to use it, do so when
we fix up the mem_type array at initialisation time.

Rename struct mem_types to be mem_type - each structure is one
memory type description, not several.

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