summaryrefslogtreecommitdiff
path: root/tools/virtio/linux/topology.h
diff options
context:
space:
mode:
authorShunsuke Mie <mie@igel.co.jp>2023-01-10 06:43:10 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-01-27 14:18:41 +0300
commit3f7b75abf41cc4143aa295f62acbb060a012868d (patch)
tree2ed235bed1335788e603e4ef127cb69ab1614ada /tools/virtio/linux/topology.h
parent9526f9a2b762af16be94a72aca5d65c677d28f50 (diff)
downloadlinux-3f7b75abf41cc4143aa295f62acbb060a012868d.tar.xz
tools/virtio: fix the vringh test for virtio ring changes
Fix the build caused by missing kmsan_handle_dma() and is_power_of_2() that are used in drivers/virtio/virtio_ring.c. Signed-off-by: Shunsuke Mie <mie@igel.co.jp> Message-Id: <20230110034310.779744-1-mie@igel.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/linux/topology.h')
-rw-r--r--tools/virtio/linux/topology.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/virtio/linux/topology.h b/tools/virtio/linux/topology.h
new file mode 100644
index 000000000000..910794afb993
--- /dev/null
+++ b/tools/virtio/linux/topology.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _LINUX_TOPOLOGY_H
+#define _LINUX_TOPOLOGY_H
+
+#include <linux/cpumask.h>
+
+#endif /* _LINUX_TOPOLOGY_H */