]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/x86: Fix linux/unaligned.h include path in lib/insn.c
authorIan Rogers <irogers@google.com>
Tue, 25 Feb 2025 19:36:00 +0000 (11:36 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:22 +0000 (14:39 +0200)
commita7b29a28d1e491305f388057b0819a07fdffb824
treed59a7c641ebf6ea7ef0ddd8cb31d3ebddffb7b54
parent72a1497927147b13d3e5d1ae56a88289a63eb901
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>
tools/arch/x86/lib/insn.c