]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: merge __enable_mmu and __turn_mmu_on
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 17 Mar 2015 07:59:53 +0000 (08:59 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Mar 2015 19:46:02 +0000 (19:46 +0000)
commit570a791ec9e857731eb42634adb55a51b0911199
treeb94cad9ea7b18ad3b28b56d76c6fb6093a2bbd68
parenta5c9621d39540b80e47fc71e94290a727db7df2e
arm64: merge __enable_mmu and __turn_mmu_on

Enabling of the MMU is split into two functions, with an align and
a branch in the middle. On arm64, the entire kernel Image is ID mapped
so this is really not necessary, and we can just merge it into a
single function.

Also replaces an open coded adrp/add reference to __enable_mmu pair
with adr_l.

Tested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S