summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/linux/dma-mapping.h')
-rw-r--r--tools/virtio/linux/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtio/linux/dma-mapping.h b/tools/virtio/linux/dma-mapping.h
index f91aeb5fe571..8f41cd6bd5c0 100644
--- a/tools/virtio/linux/dma-mapping.h
+++ b/tools/virtio/linux/dma-mapping.h
@@ -29,4 +29,6 @@ enum dma_data_direction {
#define dma_unmap_single(...) do { } while (0)
#define dma_unmap_page(...) do { } while (0)
+#define dma_max_mapping_size(...) SIZE_MAX
+
#endif