summaryrefslogtreecommitdiffstats
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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/virtio/linux/slab.h b/tools/virtio/linux/slab.h
new file mode 100644
index 000000000..319dcaa07
--- /dev/null
+++ b/tools/virtio/linux/slab.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef LINUX_SLAB_H
+#define GFP_KERNEL 0
+#define GFP_ATOMIC 0
+#define __GFP_NOWARN 0
+#define __GFP_ZERO 0
+#endif