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)
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>

No differences found