ARM: pgtable: use conventional page table code for identity mappings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 21 Nov 2010 11:48:16 +0000 (11:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 22 Dec 2010 11:05:34 +0000 (11:05 +0000)
commitaf3813d6a5bf8d0f71b23d3ce458fa5f9916c6b7
tree701ed00ea1e781ae758318c81b051f23ed9956fa
parent614dd0585f376a25c638abbed9c5fbd21d7baece
ARM: pgtable: use conventional page table code for identity mappings

Remove some knowledge of our 2-level page table layout from the
identity mapping code - we assume that a step size of PGDIR_SIZE will
allow us to step over all entries.  While this is true today, it won't
be true in the near future.

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