mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-13 09:00:39 +09:00
As it turns out, the KASLR code breaks CONFIG_MODVERSIONS, since the kcrctab has an absolute address field that is relocated at runtime when the kernel offset is randomized. This has been fixed already for PowerPC in the past, so simply wire up the existing code dealing with this issue. Cc: <stable@vger.kernel.org> Fixes:f80fb3a3d5("arm64: add support for kernel ASLR") Tested-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com> Bug: 30369029 (cherry picked from commit8fe88a4145) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: Ia40bb68eb5ba7df14214243657948d469f1d5717