summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/linux/slab.h')
-rw-r--r--tools/virtio/linux/slab.h4
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