1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 20:10:49 +00:00
David Matlack ce5dc9aa72 tools headers: Import x86 MMIO helper overrides
Import the x86-specific overrides for <asm-generic/io.h> from the kernel
headers into tools/include/.

Changes made when importing:
 - Replace CONFIG_X86_64 with __x86_64__.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-17-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2025-08-27 12:14:06 -06:00

12 lines
247 B
C

/* 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 */