summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/book3s.c
diff options
context:
space:
mode:
authorMohammed Gamal <m.gamal005@gmail.com>2010-08-15 21:47:01 (GMT)
committerAvi Kivity <avi@redhat.com>2010-10-24 08:51:04 (GMT)
commit8ec4722dd2aab9b69befb919549ea0a5bfc9e670 (patch)
tree27001682b43f02ebc5a151d4cbfdc7ef1fb23f71 /arch/powerpc/kvm/book3s.c
parentd9574a25afc3cd7ccd6a0bc05252bb84189e4021 (diff)
downloadlinux-fsl-qoriq-8ec4722dd2aab9b69befb919549ea0a5bfc9e670.tar.xz
KVM: Separate emulation context initialization in a separate function
The code for initializing the emulation context is duplicated at two locations (emulate_instruction() and kvm_task_switch()). Separate it in a separate function and call it from there. Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
0 files changed, 0 insertions, 0 deletions