diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-20 05:40:48 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-20 05:40:48 +0300 |
commit | ab63e725b49c80f941446327d79ba5b68593bf5a (patch) | |
tree | 394bd0d901fcff6001ab77c6cf436915127698eb /tools | |
parent | 8c9dff1ebd721a3b19a002d1a901d4dc31b18ebb (diff) | |
parent | c5c08bed843c2b2c048c16d1296d7631d7c1620e (diff) | |
download | linux-ab63e725b49c80f941446327d79ba5b68593bf5a.tar.xz |
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fix from Michael Tsirkin:
"A last-minute fix for a test build"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
virtio: fix test build after uio.h change
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtio/linux/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index fb22bccfbc8a..7ef45a4a3cba 100644 --- a/tools/virtio/linux/kernel.h +++ b/tools/virtio/linux/kernel.h @@ -23,6 +23,10 @@ #define PAGE_MASK (~(PAGE_SIZE-1)) #define PAGE_ALIGN(x) ((x + PAGE_SIZE - 1) & PAGE_MASK) +/* generic data direction definitions */ +#define READ 0 +#define WRITE 1 + typedef unsigned long long phys_addr_t; typedef unsigned long long dma_addr_t; typedef size_t __kernel_size_t; |