OSDN Git Service

KVM: PPC: Move mtspr/mfspr emulation into own functions
authorAlexander Graf <agraf@suse.de>
Sat, 6 Oct 2012 21:19:01 +0000 (23:19 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 30 Oct 2012 09:54:51 +0000 (10:54 +0100)
commit388cf9ee3c751c3a4cf8776987143354d6d8c797
treee86e275ddbb34fdd7cd0d9ecd5390be2bbfb7963
parent686de182a217d315e50fef74ba5e7bcd7ea6c246
KVM: PPC: Move mtspr/mfspr emulation into own functions

The mtspr/mfspr emulation code became quite big over time. Move it
into its own function so things stay more readable.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/emulate.c