diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2022-07-21 12:04:33 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-08-17 14:52:50 +0100 |
commit | ff5900092227ade3e31fe25f97faf406cde902e6 (patch) | |
tree | cc0b03b1169d6b57a8681cac7f31afcf22a4ea4a /lib/mpi/mpi-bit.c | |
parent | 5e1e087457c94ad7fafbe1cf6f774c6999ee29d4 (diff) |
arm64: adjust KASLR relocation after ARCH_RANDOM removal
Commit aacd149b6238 ("arm64: head: avoid relocating the kernel twice for
KASLR") adds the new file arch/arm64/kernel/pi/kaslr_early.c with a small
code part guarded by '#ifdef CONFIG_ARCH_RANDOM'.
Concurrently, commit 9592eef7c16e ("random: remove CONFIG_ARCH_RANDOM")
removes the config CONFIG_ARCH_RANDOM and turns all '#ifdef
CONFIG_ARCH_RANDOM' code parts into unconditional code parts, which is
generally safe to do.
Remove a needless ifdef guard after the ARCH_RANDOM removal.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220721100433.18286-1-lukas.bulwahn@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions