ARM: head.S: only include __turn_mmu_on in the initial identity mapping
authorWill Deacon <will.deacon@arm.com>
Wed, 23 Nov 2011 12:03:27 +0000 (12:03 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 6 Feb 2013 17:48:38 +0000 (19:48 +0200)
commitde53e17ae12a601dbfe592cdb1344cd9e6cb2cab
tree977bdad7e008e4b74f9f95c7ebc1abf1d0aaeb84
parent7e3bbcc787d8c630181b5619d7ace972c421be20
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