diff options
author | Bharat Bhushan <Bharat.Bhushan@freescale.com> | 2014-07-17 11:31:38 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-28 13:23:12 (GMT) |
commit | dc168549d9a0fb55d3021ee408adf25786cfda23 (patch) | |
tree | 969012dd07af9532d8f8c576b636e5450090b554 /arch/powerpc/include | |
parent | a5414d4b5ed8a2b10a1c8fe84f30ed4f19d0a35e (diff) | |
download | linux-dc168549d9a0fb55d3021ee408adf25786cfda23.tar.xz |
kvm: ppc: booke: Add shared struct helpers of SPRN_ESR
Add and use kvmppc_set_esr() and kvmppc_get_esr() helper functions
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm_ppc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h index 6520d09..c95bdbd 100644 --- a/arch/powerpc/include/asm/kvm_ppc.h +++ b/arch/powerpc/include/asm/kvm_ppc.h @@ -530,6 +530,7 @@ SHARED_SPRNG_WRAPPER(sprg3, 64, SPRN_GSPRG3) SHARED_SPRNG_WRAPPER(srr0, 64, SPRN_GSRR0) SHARED_SPRNG_WRAPPER(srr1, 64, SPRN_GSRR1) SHARED_SPRNG_WRAPPER(dar, 64, SPRN_GDEAR) +SHARED_SPRNG_WRAPPER(esr, 64, SPRN_GESR) SHARED_WRAPPER_GET(msr, 64) static inline void kvmppc_set_msr_fast(struct kvm_vcpu *vcpu, u64 val) { |