aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/exception.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2011-06-29 00:17:58 +0000
committerAvi Kivity <avi@redhat.com>2011-07-12 13:16:47 +0300
commitf05ed4d56e9cff1c46d2b3049ba0c72e7e29392f (patch)
tree1e31d94a782229cf363779645247de49b0d7a76d /arch/powerpc/platforms/iseries/exception.h
parentKVM: PPC: Move fields between struct kvm_vcpu_arch and kvmppc_vcpu_book3s (diff)
downloadlinux-dev-f05ed4d56e9cff1c46d2b3049ba0c72e7e29392f.tar.xz
linux-dev-f05ed4d56e9cff1c46d2b3049ba0c72e7e29392f.zip
KVM: PPC: Split out code from book3s.c into book3s_pr.c
In preparation for adding code to enable KVM to use hypervisor mode on 64-bit Book 3S processors, this splits book3s.c into two files, book3s.c and book3s_pr.c, where book3s_pr.c contains the code that is specific to running the guest in problem state (user mode) and book3s.c contains code which should apply to all Book 3S processors. In doing this, we abstract some details, namely the interrupt offset, updating the interrupt pending flag, and detecting if the guest is in a critical section. These are all things that will be different when we use hypervisor mode. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions