KVM: PPC: Book3E: Refactor ONE_REG ioctl implementation
authorMihai Caraman <mihai.caraman@freescale.com>
Thu, 11 Apr 2013 00:03:07 +0000 (00:03 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:05 +0000 (20:27 +0200)
commit35b299e279eb5bc4622ec883b5f388c3224cbd61
treedc67ad97836eaf77819a982f7ddd3c5f47e4dfab
parent9b4f530807e4243d8c4bc02c5bbd5b9e3e2ed9e0
KVM: PPC: Book3E: Refactor ONE_REG ioctl implementation

Refactor Book3E ONE_REG ioctl implementation to use kvmppc_get_one_reg/
kvmppc_set_one_reg delegation interface introduced by Book3S. This is
necessary for MMU SPRs which are platform specifics.

Get rid of useless case braces in the process.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/44x.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/e500.c
arch/powerpc/kvm/e500mc.c