]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] mm 1: Combine mem_type domain into prot_* at init time
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Apr 2007 08:59:44 +0000 (09:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:35:44 +0000 (20:35 +0100)
commitce06a9e137f52e294a20804ab945d7a182fc0e9a
tree44973e86c9b5c4f471586acf0207ab13ccb1f6d8
parent39f7c48713793f1b5063cc485c1055e840ecae66
[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