aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/booke.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-12-20 10:34:22 -0500
committerAvi Kivity <avi@redhat.com>2012-04-08 05:51:04 -0400
commit94fa9d9927627a948cef3eff7ebd228dcab5a316 (patch)
treedc0ec378616a6250bca86caf3b7881eba10b24cc /arch/powerpc/kvm/booke.c
parent043cc4d724da6bb9e4f417c735accec58dfa40bf (diff)
KVM: PPC: booke: add booke-level vcpu load/put
This gives us a place to put load/put actions that correspond to code that is booke-specific but not specific to a particular core. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r--arch/powerpc/kvm/booke.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index ee9e1ee9c858..a2456c7a1d87 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -968,6 +968,14 @@ void kvmppc_decrementer_func(unsigned long data)
968 kvmppc_set_tsr_bits(vcpu, TSR_DIS); 968 kvmppc_set_tsr_bits(vcpu, TSR_DIS);
969} 969}
970 970
971void kvmppc_booke_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
972{
973}
974
975void kvmppc_booke_vcpu_put(struct kvm_vcpu *vcpu)
976{
977}
978
971int __init kvmppc_booke_init(void) 979int __init kvmppc_booke_init(void)
972{ 980{
973 unsigned long ivor[16]; 981 unsigned long ivor[16];