aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/priv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kvm/priv.c')
-rw-r--r--arch/s390/kvm/priv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index d99f5f0305a0..6296159ac883 100644
--- a/arch/s390/kvm/priv.c
+++ b/arch/s390/kvm/priv.c
@@ -119,8 +119,7 @@ static int handle_store_prefix(struct kvm_vcpu *vcpu)
119 if (operand2 & 3) 119 if (operand2 & 3)
120 return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION); 120 return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
121 121
122 address = vcpu->arch.sie_block->prefix; 122 address = kvm_s390_get_prefix(vcpu);
123 address = address & 0x7fffe000u;
124 123
125 /* get the value */ 124 /* get the value */
126 rc = write_guest(vcpu, operand2, &address, sizeof(address)); 125 rc = write_guest(vcpu, operand2, &address, sizeof(address));