summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/gaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kvm/gaccess.c')
-rw-r--r--arch/s390/kvm/gaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/gaccess.c
index ba4985262bce..c5f79c1205cf 100644
--- a/arch/s390/kvm/gaccess.c
+++ b/arch/s390/kvm/gaccess.c
@@ -1109,7 +1109,7 @@ int kvm_s390_shadow_fault(struct gmap *sg, unsigned long saddr, int write)
dat_protection |= pte.p;
if (write && dat_protection)
return PGM_PROTECTION;
- rc = gmap_shadow_page(sg, saddr, pte.pfra * 4096, write);
+ rc = gmap_shadow_page(sg, saddr, __pte(pte.val));
if (rc)
return rc;
return 0;