diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2017-01-27 10:23:59 +0100 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-01-30 11:19:17 +0100 |
commit | 4bead2a423ea5268b0ab3cba058e215c65ee2cbd (patch) | |
tree | 9804c0569d36201f1cdd77b068cc3dab3341054e /arch/s390 | |
parent | KVM: s390: guestdbg: filter PER i-fetch on EXECUTE properly (diff) | |
download | linux-4bead2a423ea5268b0ab3cba058e215c65ee2cbd.tar.xz linux-4bead2a423ea5268b0ab3cba058e215c65ee2cbd.zip |
KVM: s390: Fix RRBE return code not being CC
reset_guest_reference_bit needs to return the CC, so we can set it in
the guest PSW when emulating RRBE. Right now it only returns 0.
Let's fix that.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/mm/pgtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 7a1897c51c54..f70db837ddc4 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c @@ -741,7 +741,7 @@ int reset_guest_reference_bit(struct mm_struct *mm, unsigned long addr) pgste_set_unlock(ptep, new); pte_unmap_unlock(ptep, ptl); - return 0; + return cc; } EXPORT_SYMBOL(reset_guest_reference_bit); |