@@ -42,7 +42,7 @@ struct virtio_pcidev_device {
42
42
void * extra_ptrs [VIRTIO_PCIDEV_WRITE_BUFS + 1 ];
43
43
DECLARE_BITMAP (used_bufs , VIRTIO_PCIDEV_WRITE_BUFS );
44
44
45
- #define UM_PCI_STAT_WAITING 0
45
+ #define VIRTIO_PCIDEV_STAT_WAITING 0
46
46
unsigned long status ;
47
47
48
48
bool platform ;
@@ -172,7 +172,7 @@ static int virtio_pcidev_send_cmd(struct virtio_pcidev_device *dev,
172
172
}
173
173
174
174
/* kick and poll for getting a response on the queue */
175
- set_bit (UM_PCI_STAT_WAITING , & dev -> status );
175
+ set_bit (VIRTIO_PCIDEV_STAT_WAITING , & dev -> status );
176
176
virtqueue_kick (dev -> cmd_vq );
177
177
ret = 0 ;
178
178
@@ -193,7 +193,7 @@ static int virtio_pcidev_send_cmd(struct virtio_pcidev_device *dev,
193
193
}
194
194
udelay (1 );
195
195
}
196
- clear_bit (UM_PCI_STAT_WAITING , & dev -> status );
196
+ clear_bit (VIRTIO_PCIDEV_STAT_WAITING , & dev -> status );
197
197
198
198
if (bounce_out )
199
199
memcpy (out , buf -> data , out_size );
@@ -439,7 +439,7 @@ static void virtio_pcidev_cmd_vq_cb(struct virtqueue *vq)
439
439
void * cmd ;
440
440
int len ;
441
441
442
- if (test_bit (UM_PCI_STAT_WAITING , & dev -> status ))
442
+ if (test_bit (VIRTIO_PCIDEV_STAT_WAITING , & dev -> status ))
443
443
return ;
444
444
445
445
while ((cmd = virtqueue_get_buf (vq , & len )))
0 commit comments