Commit 955a8699 authored by Will Deacon's avatar Will Deacon Committed by Treehugger Robot
Browse files

ANDROID: KVM: arm64: Fix calculation for number of relocs in .hyp.reloc



Fix the calculation to determine the number of module relocs present in
the '.hyp.reloc' section to divide by the size of 'kvm_nvhe_reloc_t' (4)
instead of the size of a pointer (8).

Fixes: 3dc729d157a7 ("ANDROID: KVM: arm64: Resolve hyp module addresses using ELF sections")
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Bug: 261855285
Change-Id: Ia7afc508039d549ae061793afa39fde9d844c069
parent b17ff311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment