Rename the bit to match latest virtio spec. Add a compat macro to avoid breaking existing userspace.
Showing the changes to include/linux (1 of 10 files). Show all
Unified · Split
| @@ -171,7 +171,7 @@ static inline bool virtio_has_iommu_quirk(const struct virtio_device *vdev) · 170 unmodified lines | |||
| 171 | * Note the reverse polarity of the quirk feature (compared to most | 171 | * Note the reverse polarity of the quirk feature (compared to most |
| 172 | * other features), this is for compatibility with legacy systems. | 172 | * other features), this is for compatibility with legacy systems. |
| 173 | */ | 173 | */ |
| 174 | return !virtio_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM); | 174 | return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM); |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | static inline | 177 | static inline |