diff options
author | Alexander Graf | 2012-08-13 12:50:35 +0200 |
---|---|---|
committer | Alexander Graf | 2012-10-05 23:38:46 +0200 |
commit | 7c973a2ebb8fb9c8ee2ae9647f9ad7b0ad58a3e6 (patch) | |
tree | 5f0cad2d7d52f7b9b77ae64e5f3b46c778970ed0 /arch/powerpc/include/asm/kvm_ppc.h | |
parent | KVM: PPC: Add return value in prepare_to_enter (diff) | |
download | kernel-qcow2-linux-7c973a2ebb8fb9c8ee2ae9647f9ad7b0ad58a3e6.tar.gz kernel-qcow2-linux-7c973a2ebb8fb9c8ee2ae9647f9ad7b0ad58a3e6.tar.xz kernel-qcow2-linux-7c973a2ebb8fb9c8ee2ae9647f9ad7b0ad58a3e6.zip |
KVM: PPC: Add return value to core_check_requests
Requests may want to tell us that we need to go back into host state,
so add a return value for the checks.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_ppc.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_ppc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h index 545936428bf6..3dfc437fb9d9 100644 --- a/arch/powerpc/include/asm/kvm_ppc.h +++ b/arch/powerpc/include/asm/kvm_ppc.h @@ -112,7 +112,7 @@ extern int kvmppc_core_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong val); extern int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *val); -extern void kvmppc_core_check_requests(struct kvm_vcpu *vcpu); +extern int kvmppc_core_check_requests(struct kvm_vcpu *vcpu); extern int kvmppc_booke_init(void); extern void kvmppc_booke_exit(void); |