Skip to content

Commit 6004698

Browse files
rddunlapMarc Zyngier
authored andcommitted
KVM: arm64: nv: Select XARRAY_MULTI to fix build error
populate_nv_trap_config() uses xa_store_range(), which is only built when XARRAY_MULTI is set, so select that symbol to prevent the build error. aarch64-linux-ld: arch/arm64/kvm/emulate-nested.o: in function `populate_nv_trap_config': emulate-nested.c:(.init.text+0x17c): undefined reference to `xa_store_range' Fixes: e58ec47 ("KVM: arm64: nv: Add trap forwarding infrastructure") Signed-off-by: Randy Dunlap <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Oliver Upton <[email protected]> Cc: [email protected] Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 03fb54d commit 6004698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/kvm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ menuconfig KVM
4343
select SCHED_INFO
4444
select GUEST_PERF_EVENTS if PERF_EVENTS
4545
select INTERVAL_TREE
46+
select XARRAY_MULTI
4647
help
4748
Support hosting virtualized guest machines.
4849

0 commit comments

Comments
 (0)