diff options
Diffstat (limited to 'arch/arm64/kvm/psci.c')
| -rw-r--r-- | arch/arm64/kvm/psci.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm64/kvm/psci.c b/arch/arm64/kvm/psci.c index 74c47d420253..3eae32876897 100644 --- a/arch/arm64/kvm/psci.c +++ b/arch/arm64/kvm/psci.c @@ -46,7 +46,7 @@ static unsigned long kvm_psci_vcpu_suspend(struct kvm_vcpu *vcpu)  	 * specification (ARM DEN 0022A). This means all suspend states  	 * for KVM will preserve the register state.  	 */ -	kvm_vcpu_block(vcpu); +	kvm_vcpu_halt(vcpu);  	kvm_clear_request(KVM_REQ_UNHALT, vcpu);  	return PSCI_RET_SUCCESS; @@ -109,7 +109,7 @@ static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu)  	/*  	 * Make sure the reset request is observed if the change to -	 * power_state is observed. +	 * power_off is observed.  	 */  	smp_wmb(); @@ -121,8 +121,8 @@ static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu)  static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu)  { -	int i, matching_cpus = 0; -	unsigned long mpidr; +	int matching_cpus = 0; +	unsigned long i, mpidr;  	unsigned long target_affinity;  	unsigned long target_affinity_mask;  	unsigned long lowest_affinity_level; @@ -164,7 +164,7 @@ static unsigned long kvm_psci_vcpu_affinity_info(struct kvm_vcpu *vcpu)  static void kvm_prepare_system_event(struct kvm_vcpu *vcpu, u32 type)  { -	int i; +	unsigned long i;  	struct kvm_vcpu *tmp;  	/*  |