diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2019-09-26 13:43:10 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-11 09:27:27 -0400 |
commit | c461e8df0c9bc46b3696dfb5d1df2f09d755af53 (patch) | |
tree | 9aa2c39868eb143ea4042560aeb791ab1c06d3a8 | |
parent | da0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff) | |
download | linux-c461e8df0c9bc46b3696dfb5d1df2f09d755af53.tar.bz2 |
tools/virtio: more stubs
fix test module build.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r-- | tools/virtio/crypto/hash.h | 0 | ||||
-rw-r--r-- | tools/virtio/linux/dma-mapping.h | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtio/crypto/hash.h b/tools/virtio/crypto/hash.h new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/tools/virtio/crypto/hash.h 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 |