diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-18 03:52:19 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-03-20 04:30:42 +0100 |
commit | 61d0b5a4b2777dcf5daef245e212b3c1fa8091ca (patch) | |
tree | 647f8fd729d5400341e5701d0d1eb668aad97f89 /tools/virtio/uapi | |
parent | virtio_ring: expose virtio barriers for use in vringh. (diff) | |
download | linux-61d0b5a4b2777dcf5daef245e212b3c1fa8091ca.tar.xz linux-61d0b5a4b2777dcf5daef245e212b3c1fa8091ca.zip |
tools/virtio: separate headers more.
This makes them a bit more like the kernel headers, so we can include more
real kernel headers in our tests.
In addition this means that we don't break tools/virtio with the next
patch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/virtio/uapi')
-rw-r--r-- | tools/virtio/uapi/linux/uio.h | 1 | ||||
-rw-r--r-- | tools/virtio/uapi/linux/virtio_config.h | 1 | ||||
-rw-r--r-- | tools/virtio/uapi/linux/virtio_ring.h | 4 |
3 files changed, 6 insertions, 0 deletions
diff --git a/tools/virtio/uapi/linux/uio.h b/tools/virtio/uapi/linux/uio.h new file mode 100644 index 000000000000..7230e9002207 --- /dev/null +++ b/tools/virtio/uapi/linux/uio.h @@ -0,0 +1 @@ +#include <sys/uio.h> diff --git a/tools/virtio/uapi/linux/virtio_config.h b/tools/virtio/uapi/linux/virtio_config.h new file mode 100644 index 000000000000..4c86675f0159 --- /dev/null +++ b/tools/virtio/uapi/linux/virtio_config.h @@ -0,0 +1 @@ +#include "../../../../include/uapi/linux/virtio_config.h" diff --git a/tools/virtio/uapi/linux/virtio_ring.h b/tools/virtio/uapi/linux/virtio_ring.h new file mode 100644 index 000000000000..4d99c78234d3 --- /dev/null +++ b/tools/virtio/uapi/linux/virtio_ring.h @@ -0,0 +1,4 @@ +#ifndef VIRTIO_RING_H +#define VIRTIO_RING_H +#include "../../../../include/uapi/linux/virtio_ring.h" +#endif /* VIRTIO_RING_H */ |