summaryrefslogtreecommitdiffstats
path: root/tools/virtio/linux/printk.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio/linux/printk.h')
-rw-r--r--tools/virtio/linux/printk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/virtio/linux/printk.h b/tools/virtio/linux/printk.h
new file mode 100644
index 00000000000..9f2423bd89c
--- /dev/null
+++ b/tools/virtio/linux/printk.h
@@ -0,0 +1,4 @@
+#include "../../../include/linux/kern_levels.h"
+
+#define printk printf
+#define vprintk vprintf