s390/ioinst: fix endianness in ioinst_schib_valid
commitd49f4ab48ec76e590ad72a2d6c3fba8459d3ded7
authorAlexander Graf <agraf@suse.de>
Mon, 15 Jun 2015 15:57:01 +0000 (15 17:57 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 17 Jun 2015 10:40:50 +0000 (17 12:40 +0200)
tree9a17a675eb0586938bd0becda845639b5cd6a4fb
parentae52e585bf5e9678a77be033fd4b430a2e78dfed
s390/ioinst: fix endianness in ioinst_schib_valid

The ioinst_schib_valid gets a SCHIB in guest endianness, we should
byteswap the fields we access.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/ioinst.c