summaryrefslogtreecommitdiff
path: root/tools/include/asm/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/asm/io.h')
-rw-r--r--tools/include/asm/io.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/include/asm/io.h b/tools/include/asm/io.h
new file mode 100644
index 000000000000..eed5066f25c4
--- /dev/null
+++ b/tools/include/asm/io.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _TOOLS_ASM_IO_H
+#define _TOOLS_ASM_IO_H
+
+#if defined(__i386__) || defined(__x86_64__)
+#include "../../arch/x86/include/asm/io.h"
+#else
+#include <asm-generic/io.h>
+#endif
+
+#endif /* _TOOLS_ASM_IO_H */