summaryrefslogtreecommitdiff
path: root/arch/x86/tools/insn_sanity.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2020-11-13 02:03:20 +0300
committerJosh Poimboeuf <jpoimboe@redhat.com>2021-01-14 03:13:11 +0300
commitc8d7b7e592f471ec1da39d872dc6bbf767a812e7 (patch)
treeb2c21e6f4d094f103defd37d98b464bbf3f86b1f /arch/x86/tools/insn_sanity.c
parent201ef5a974e24112953b74cc9f33dcfc4cbcc1cb (diff)
downloadlinux-c8d7b7e592f471ec1da39d872dc6bbf767a812e7.tar.xz
x86/tools: Use tools headers for instruction decoder selftests
Currently the x86 instruction decoder is used from: - the kernel itself, - from tools like objtool and perf, - within x86 tools, i.e. instruction decoder selftests. The first two cases are similar, because tools headers try to mimic kernel headers. Instruction decoder selftests include some of the kernel headers directly, including uapi headers. This works until headers dependencies are kept to a minimum and tools are not cross-compiled. Since the goal of the x86 instruction decoder selftests is not to verify uapi headers, move it to using tools headers, like is already done for vdso2c tool, mkpiggy and other tools in arch/x86/boot/. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'arch/x86/tools/insn_sanity.c')
0 files changed, 0 insertions, 0 deletions