ARM: head.S: only include __turn_mmu_on in the initial identity mapping
commit72662e01088394577be4a3f14da94cf87bea2591
authorWill Deacon <will.deacon@arm.com>
Wed, 23 Nov 2011 12:03:27 +0000 (23 12:03 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 6 Dec 2011 14:04:15 +0000 (6 14:04 +0000)
tree3626efb94b048cefa3f62aa0174c29949626d783
parent2c8951ab0c337cb198236df07ad55f9dd4892c26
ARM: head.S: only include __turn_mmu_on in the initial identity mapping

__create_page_tables identity maps the region of memory from
__enable_mmu to the end of __turn_mmu_on.

In preparation for including __turn_mmu_on in the .idmap.text section,
this patch modifies the identity mapping so that it only includes the
__turn_mmu_on code.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/head.S