diff options
author | Ricardo Koller <ricarkol@google.com> | 2022-10-17 19:58:28 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-10 19:10:27 +0000 |
commit | 5485e822e31a75dfac3713d94b6b22025d4895da (patch) | |
tree | 36eb1d23972a42b5d2fbfa0fc98775fac7e93b2a /tools/testing/selftests/kvm/lib/elf.c | |
parent | 290c5b54012b7f05e9c51af32d557574bf69a654 (diff) |
KVM: selftests: Fix alignment in virt_arch_pgd_alloc() and vm_vaddr_alloc()
Refactor virt_arch_pgd_alloc() and vm_vaddr_alloc() in both RISC-V and
aarch64 to fix the alignment of parameters in a couple of calls. This will
make it easier to fix the alignment in a future commit that adds an extra
parameter (that happens to be very long).
No functional change intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221017195834.2295901-9-ricarkol@google.com
Diffstat (limited to 'tools/testing/selftests/kvm/lib/elf.c')
0 files changed, 0 insertions, 0 deletions