KVM: s390: Fix RRBE return code not being CC
authorJanosch Frank <frankja@linux.vnet.ibm.com>
Fri, 27 Jan 2017 09:23:59 +0000 (10:23 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Jan 2017 10:19:17 +0000 (11:19 +0100)
commit4bead2a423ea5268b0ab3cba058e215c65ee2cbd
tree9804c0569d36201f1cdd77b068cc3dab3341054e
parenta69cbe81b2f38437113c05019a134a4731a3aa78
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>
arch/s390/mm/pgtable.c