kvm: ppc: booke: Use the shared struct helpers for SPRN_SPRG0-7
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Thu, 17 Jul 2014 11:31:39 +0000 (17:01 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:12 +0000 (15:23 +0200)
commitc1b8a01bf959e87cff9c9dcaf51cb5c1d60a2c52
treec20d6ab8efe46eb44e9c91955355c5573dd6f26f
parentdc168549d9a0fb55d3021ee408adf25786cfda23
kvm: ppc: booke: Use the shared struct helpers for SPRN_SPRG0-7

Use kvmppc_set_sprg[0-7]() and kvmppc_get_sprg[0-7]() helper
functions

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke_emulate.c