arm64: head.S: move KASLR processing out of __enable_mmu()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 31 Aug 2016 11:05:13 +0000 (12:05 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 2 Sep 2016 10:30:13 +0000 (11:30 +0100)
commit3c5e9f238bc475b0712419eaebc643c07c73cb94
tree0cebd8fa5a29715f3a0948d63010ddf2dc6040f6
parent23c8a500c24d02dd2de1bff968d4467b441717bb
arm64: head.S: move KASLR processing out of __enable_mmu()

The KASLR processing is only used by the primary boot path, and
complements the processing that takes place in __primary_switch().
Move the two parts together, to make the code easier to understand.

Also, fix up a minor whitespace issue.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
[will: fixed conflict with -rc3 due to lack of fd363bd417dd]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S