diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-06-08 02:24:07 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-06-08 02:24:07 -0400 |
commit | a292241cccb7e20e8b997a9a44177e7c98141859 (patch) | |
tree | a0b0bb95e7dce3233a2d8b203f9e326cdec7a00e /tools/virtio/linux | |
parent | d49cb7aeebb974713f9f7ab2991352d3050b095b (diff) | |
parent | 68807a0c2015cb40df4869e16651f0ce5cc14d52 (diff) |
Merge branch 'next' into for-linus
Prepare input updates for 3.16.
Diffstat (limited to 'tools/virtio/linux')
-rw-r--r-- | tools/virtio/linux/kmemleak.h | 3 | ||||
-rw-r--r-- | tools/virtio/linux/virtio.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/virtio/linux/kmemleak.h b/tools/virtio/linux/kmemleak.h new file mode 100644 index 000000000000..c07072270e2f --- /dev/null +++ b/tools/virtio/linux/kmemleak.h | |||
@@ -0,0 +1,3 @@ | |||
1 | static inline void kmemleak_ignore(const void *ptr) | ||
2 | { | ||
3 | } | ||
diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h index 844783040703..5a2d1f0f6bc7 100644 --- a/tools/virtio/linux/virtio.h +++ b/tools/virtio/linux/virtio.h | |||
@@ -63,7 +63,7 @@ int virtqueue_add_inbuf(struct virtqueue *vq, | |||
63 | void *data, | 63 | void *data, |
64 | gfp_t gfp); | 64 | gfp_t gfp); |
65 | 65 | ||
66 | void virtqueue_kick(struct virtqueue *vq); | 66 | bool virtqueue_kick(struct virtqueue *vq); |
67 | 67 | ||
68 | void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len); | 68 | void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len); |
69 | 69 | ||
@@ -79,7 +79,7 @@ struct virtqueue *vring_new_virtqueue(unsigned int index, | |||
79 | struct virtio_device *vdev, | 79 | struct virtio_device *vdev, |
80 | bool weak_barriers, | 80 | bool weak_barriers, |
81 | void *pages, | 81 | void *pages, |
82 | void (*notify)(struct virtqueue *vq), | 82 | bool (*notify)(struct virtqueue *vq), |
83 | void (*callback)(struct virtqueue *vq), | 83 | void (*callback)(struct virtqueue *vq), |
84 | const char *name); | 84 | const char *name); |
85 | void vring_del_virtqueue(struct virtqueue *vq); | 85 | void vring_del_virtqueue(struct virtqueue *vq); |