OSDN Git Service

arm64/kernel: kaslr: drop special Image placement logic
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 17 Jan 2018 16:11:27 +0000 (16:11 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 5 Mar 2018 12:06:43 +0000 (12:06 +0000)
commit6141ac1c274741ea8a47dfda759071f1c2eb5573
tree88cb0e8bb004791bdfc2917de92d61e2a625b1a8
parent532826f3712b607256eb30f92f23d1c604d3fa34
arm64/kernel: kaslr: drop special Image placement logic

Now that the early kernel mapping logic can tolerate placements of
Image that cross swapper table boundaries, we can remove the logic
that adjusts the offset if the dice roll produced an offset that
puts the kernel right on top of one.

Reviewed-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/kaslr.c