diff options
author | Scott Wood <scottwood@freescale.com> | 2013-04-12 10:08:46 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 14:27:23 -0400 |
commit | 5df554ad5b7522ea62b0ff9d5be35183494efc21 (patch) | |
tree | b00f569c1d7a684d3455ad59f52c7b5aa7ac04e7 /include/linux/kvm_host.h | |
parent | f0f5c481a91c56f1ee5b3809bf3943115143b1a7 (diff) |
kvm/ppc/mpic: in-kernel MPIC emulation
Hook the MPIC code up to the KVM interfaces, add locking, etc.
Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: add stub function for kvmppc_mpic_set_epr, non-booke, 64bit]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 6dab6b5b3e3b..feffbdaf8986 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
@@ -1099,6 +1099,8 @@ void kvm_device_get(struct kvm_device *dev); | |||
1099 | void kvm_device_put(struct kvm_device *dev); | 1099 | void kvm_device_put(struct kvm_device *dev); |
1100 | struct kvm_device *kvm_device_from_filp(struct file *filp); | 1100 | struct kvm_device *kvm_device_from_filp(struct file *filp); |
1101 | 1101 | ||
1102 | extern struct kvm_device_ops kvm_mpic_ops; | ||
1103 | |||
1102 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT | 1104 | #ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT |
1103 | 1105 | ||
1104 | static inline void kvm_vcpu_set_in_spin_loop(struct kvm_vcpu *vcpu, bool val) | 1106 | static inline void kvm_vcpu_set_in_spin_loop(struct kvm_vcpu *vcpu, bool val) |