s390: Drop set_bit usage in virtio_ccw.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 29 Jan 2013 15:33:04 +0000 (16:33 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 29 Jan 2013 20:50:05 +0000 (21:50 +0100)
commit19380b1bf587fd962a60fb40cc4927ba999cf17b
tree0c97705a9bd1da3c796c10c273aa8ac3e8aefd0e
parent8d034a6fad4c580be3ed4a15f24e0bf47aa92d15
s390: Drop set_bit usage in virtio_ccw.

set_bit on indicators doesn't go well on 32 bit targets:

note: expected 'long unsigned int *' but argument is of type 'uint64_t *'

Switch to bit shifts instead.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
[agraf: use 1ULL instead]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390x/virtio-ccw.c