[ARM] mm 4: make create_mapping() more conventional
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 21 Apr 2007 09:21:28 +0000 (10:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:35:55 +0000 (20:35 +0100)
commit24e6c6996fb6e0e716c1dda1def1bb023a0fe43b
tree91e507dd9a071d7e6d68bd06120f6538c92b1cec
parent4a56c1e41f19393577bdd5c774c289c199b7269d
[ARM] mm 4: make create_mapping() more conventional

Rather than our three separate loops to setup mappings (by page
mappings up to a section boundary, then section mappings, and the
remainder by page mappings) convert this to a more conventional
Linux style of a loop over each page table level.

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