Skip to content
Commit 1287cb3f authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Book3S: Move vcore definition to end of kvm_arch struct



When building KVM with a lot of vcores (NR_CPUS is big), we can potentially
get out of the ld immediate range for dereferences inside that struct.

Move the array to the end of our kvm_arch struct. This fixes compilation
issues with NR_CPUS=2048 for me.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent debf27d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment