diff options
author | Ian Rogers <irogers@google.com> | 2025-02-25 11:36:00 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:39:22 +0200 |
commit | a7b29a28d1e491305f388057b0819a07fdffb824 (patch) | |
tree | d59a7c641ebf6ea7ef0ddd8cb31d3ebddffb7b54 /tools | |
parent | 72a1497927147b13d3e5d1ae56a88289a63eb901 (diff) | |
download | linux-a7b29a28d1e491305f388057b0819a07fdffb824.tar.gz linux-a7b29a28d1e491305f388057b0819a07fdffb824.tar.bz2 linux-a7b29a28d1e491305f388057b0819a07fdffb824.zip |
tools/x86: Fix linux/unaligned.h include path in lib/insn.c
[ Upstream commit fad07a5c0f07ad0884e1cb4362fe28c083b5b811 ]
tools/arch/x86/include/linux doesn't exist but building is working by
virtue of a -I. Building using bazel this fails. Use angle brackets to
include unaligned.h so there isn't an invalid relative include.
Fixes: 5f60d5f6bbc1 ("move asm/unaligned.h to linux/unaligned.h")
Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250225193600.90037-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/arch/x86/lib/insn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/arch/x86/lib/insn.c b/tools/arch/x86/lib/insn.c index ab5cdc3337da..e91d4c4e1c16 100644 --- a/tools/arch/x86/lib/insn.c +++ b/tools/arch/x86/lib/insn.c @@ -13,7 +13,7 @@ #endif #include "../include/asm/inat.h" /* __ignore_sync_check__ */ #include "../include/asm/insn.h" /* __ignore_sync_check__ */ -#include "../include/linux/unaligned.h" /* __ignore_sync_check__ */ +#include <linux/unaligned.h> /* __ignore_sync_check__ */ #include <linux/errno.h> #include <linux/kconfig.h> |