aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-07-29 08:47:44 -0400
committerAvi Kivity <avi@redhat.com>2010-10-24 04:50:44 -0400
commitd562de48de68b60b3d2522e7d8273d7112034ee6 (patch)
treeec58ea23bea8aec64be3d169033cece19cd6d3e8 /arch/powerpc/include/asm
parent666e7252a15b7fc4a116e65deaf6da5e4ce660e3 (diff)
KVM: PPC: Convert DSISR to shared page
The DSISR register contains information about a data page fault. It is fully read/write from inside the guest context and we don't need to worry about interacting based on writes of this register. This patch converts all users of the current field to the shared page. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s.h1
-rw-r--r--arch/powerpc/include/asm/kvm_para.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s.h b/arch/powerpc/include/asm/kvm_book3s.h
index 8274a2d43925..b5b196166455 100644
--- a/arch/powerpc/include/asm/kvm_book3s.h
+++ b/arch/powerpc/include/asm/kvm_book3s.h
@@ -85,7 +85,6 @@ struct kvmppc_vcpu_book3s {
85 u64 hid[6]; 85 u64 hid[6];
86 u64 gqr[8]; 86 u64 gqr[8];
87 int slb_nr; 87 int slb_nr;
88 u32 dsisr;
89 u64 sdr1; 88 u64 sdr1;
90 u64 hior; 89 u64 hior;
91 u64 msr_mask; 90 u64 msr_mask;
diff --git a/arch/powerpc/include/asm/kvm_para.h b/arch/powerpc/include/asm/kvm_para.h
index a17dc5229d99..9f7565b1de65 100644
--- a/arch/powerpc/include/asm/kvm_para.h
+++ b/arch/powerpc/include/asm/kvm_para.h
@@ -24,6 +24,7 @@
24 24
25struct kvm_vcpu_arch_shared { 25struct kvm_vcpu_arch_shared {
26 __u64 msr; 26 __u64 msr;
27 __u32 dsisr;
27}; 28};
28 29
29#ifdef __KERNEL__ 30#ifdef __KERNEL__