aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/insn.c
diff options
context:
space:
mode:
authorVasily Gorbik2020-11-13 00:03:20 +0100
committerJosh Poimboeuf2021-01-13 18:13:11 -0600
commitc8d7b7e592f471ec1da39d872dc6bbf767a812e7 (patch)
treeb2c21e6f4d094f103defd37d98b464bbf3f86b1f /arch/x86/lib/insn.c
parent201ef5a974e24112953b74cc9f33dcfc4cbcc1cb (diff)
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/lib/insn.c')
0 files changed, 0 insertions, 0 deletions