summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/e500.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-18 13:54:59 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 09:19:00 +0100
commit4dbf6fec78868ef02e8bf32834f16b22f58723f5 (patch)
tree3a94df735b4ca0b9cada1010079fda518453b312 /arch/powerpc/kvm/e500.c
parentd30769522294fbbd182659614bda16b5da231413 (diff)
downloadlinux-4dbf6fec78868ef02e8bf32834f16b22f58723f5.tar.gz
linux-4dbf6fec78868ef02e8bf32834f16b22f58723f5.tar.bz2
linux-4dbf6fec78868ef02e8bf32834f16b22f58723f5.zip
KVM: PPC: e500mc: Move reset of oldpir below call to kvm_vcpu_init()
Move the initialization of oldpir so that the call to kvm_vcpu_init() is at the top of kvmppc_core_vcpu_create_e500mc(). oldpir is only use when loading/putting a vCPU, which currently cannot be done until after kvm_arch_vcpu_create() completes. Reording the call to kvm_vcpu_init() paves the way for moving the invocation to common PPC code. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/e500.c')
0 files changed, 0 insertions, 0 deletions