summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-10-13 17:42:09 +0100
committerJeff Vander Stoep <jeffv@google.com>2016-10-20 15:40:41 -0700
commit4a8b645cef3caa87b85269078d9e1f02115107b6 (patch)
tree26d35adb9ec85c8f939791dd01f6fd50e4946eb8 /kernel/cpu.c
parentffa907b7664062250d813d97fb9a9bdb5511897a (diff)
UPSTREAM: arm64: kaslr: fix breakage with CONFIG_MODVERSIONS=y
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: f80fb3a3d508 ("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 commit 8fe88a4145cdeee486af60e61f5d5a14f804fa45) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: Ia40bb68eb5ba7df14214243657948d469f1d5717
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions