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, 20 Feb 2013 21:19:20 +0000 (23:19 +0200)
commited4c86cdb42bf2ffcad9becf3d7283ff41902359
treeb78735a51381aca4e2d346cd379982d4818483c0
parentb284156021fe84820631425fc9962a860fa921ec
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