kvm: ppc: Add SPRN_EPR get helper function
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Thu, 17 Jul 2014 11:31:40 +0000 (17:01 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:13 +0000 (15:23 +0200)
commit34f754b99e2f642c661967b456764b2c7ccc096e
treea6f6b187979fd35267f55c13449bbdf917442a22
parentc1b8a01bf959e87cff9c9dcaf51cb5c1d60a2c52
kvm: ppc: Add SPRN_EPR get helper function

kvmppc_set_epr() is already defined in asm/kvm_ppc.h, So
rename and move get_epr helper function to same file.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
[agraf: remove duplicate return]
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/booke.c