diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-08-15 04:50:55 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-08-15 05:05:51 +0300 |
commit | 6be3ffaa0e15c64f560904b025f5c50bef5886f9 (patch) | |
tree | 73aab67c5d66b71b6e6ca0a9f38dd37e031b0049 /tools/virtio/linux/slab.h | |
parent | 446374d7c7f89603d8151b56824e2cac85ed8e0d (diff) |
tools/virtio: add dma stubs
Fixes build after recent IOMMU-related changes,
mustly by adding more stubs.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/linux/slab.h')
-rw-r--r-- | tools/virtio/linux/slab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/virtio/linux/slab.h b/tools/virtio/linux/slab.h index 81baeac8ae40..7e1c1197d439 100644 --- a/tools/virtio/linux/slab.h +++ b/tools/virtio/linux/slab.h @@ -1,2 +1,6 @@ #ifndef LINUX_SLAB_H +#define GFP_KERNEL 0 +#define GFP_ATOMIC 0 +#define __GFP_NOWARN 0 +#define __GFP_ZERO 0 #endif |