s390x: implement rrbe instruction properly
authorAlexander Graf <agraf@suse.de>
Thu, 14 Jul 2011 09:50:33 +0000 (11:50 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2011 16:47:26 +0000 (17:47 +0100)
commit17bb18ce16b45e61248c5238074fa9cf8bc547bf
treed45d1b73abe94043b74b0028033e689b06ba534c
parentb995913853b98812845b1b82ac5f61ab31d2d7b0
s390x: implement rrbe instruction properly

The rrbe instruction resets the reference bit in the given storage key.
So far, we merely made it a nop and also returned an invalid CC value,
so that the kernel never knew if a page actually got accessed.

This patch implements it properly, flushing the R bit and returning the
correct CC value.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/op_helper.c