mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
virtio: virtio_has_iommu_quirk -> virtio_has_dma_quirk
Now that the corresponding feature bit has been renamed, rename the quirk too - it's about special ways to do DMA, not necessarily about the IOMMU. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
321bd21261
commit
24b6842ade
5 changed files with 8 additions and 8 deletions
|
@ -162,10 +162,10 @@ static inline bool virtio_has_feature(const struct virtio_device *vdev,
|
|||
}
|
||||
|
||||
/**
|
||||
* virtio_has_iommu_quirk - determine whether this device has the iommu quirk
|
||||
* virtio_has_dma_quirk - determine whether this device has the DMA quirk
|
||||
* @vdev: the device
|
||||
*/
|
||||
static inline bool virtio_has_iommu_quirk(const struct virtio_device *vdev)
|
||||
static inline bool virtio_has_dma_quirk(const struct virtio_device *vdev)
|
||||
{
|
||||
/*
|
||||
* Note the reverse polarity of the quirk feature (compared to most
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue