commit | 432953b4455d8a48af0500a77826c71871671161 | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@ozlabs.org> | Thu Nov 09 15:37:10 2017 +1100 |
committer | Paul Mackerras <paulus@ozlabs.org> | Thu Nov 09 15:37:10 2017 +1100 |
tree | 68993e8606b65ce68291e50175217f3d26e1cb99 | |
parent | 072df8130c6b602c8ee219f7b06394680cafad2f [diff] |
KVM: PPC: Book3S HV: Cosmetic post-merge cleanups This rearranges the code in kvmppc_run_vcpu() and kvmppc_run_vcpu_hv() to be neater and clearer. Deeply indented code in kvmppc_run_vcpu() is moved out to a helper function, kvmhv_setup_mmu(). In kvmppc_vcpu_run_hv(), make use of the existing variable 'kvm' in place of 'vcpu->kvm'. No functional change. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>