| Submitter | Alexander Graf |
|---|---|
| Date | Jan. 29, 2013, 8:50 p.m. |
| Message ID | <1359492659-16362-20-git-send-email-agraf@suse.de> |
| Download | mbox | patch |
| Permalink | /patch/216654/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 7d7f336..231f81e 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -662,12 +662,12 @@ static void virtio_ccw_notify(DeviceState *d, uint16_t vector) if (vector < VIRTIO_PCI_QUEUE_MAX) { indicators = ldq_phys(dev->indicators); - set_bit(vector, &indicators); + indicators |= 1ULL << vector; stq_phys(dev->indicators, indicators); } else { vector = 0; indicators = ldq_phys(dev->indicators2); - set_bit(vector, &indicators); + indicators |= 1ULL << vector; stq_phys(dev->indicators2, indicators); }