diff options
author | Borislav Petkov <bp@suse.de> | 2021-03-17 11:33:04 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-03-17 20:17:05 +0100 |
commit | 0705ef64d1ff52b817e278ca6e28095585ff31e1 (patch) | |
tree | d1f2f1c31240c5b95bb1b967119e300b2729f6bd /arch/x86/kernel/kprobes | |
parent | f935178b5c1c32ff803b15892a8ba85a1280cb01 (diff) |
tools/insn: Restore the relative include paths for cross building
Building perf on ppc causes:
In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15:
util/intel-pt-decoder/../../../arch/x86/lib/insn.c:14:10: fatal error: asm/inat.h: No such file or directory
14 | #include <asm/inat.h> /*__ignore_sync_check__ */
| ^~~~~~~~~~~~
Restore the relative include paths so that the compiler can find the
headers.
Fixes: 93281c4a9657 ("x86/insn: Add an insn_decode() API")
Reported-by: Ian Rogers <irogers@google.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Ian Rogers <irogers@google.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lkml.kernel.org/r/20210317150858.02b1bbc8@canb.auug.org.au
Diffstat (limited to 'arch/x86/kernel/kprobes')
0 files changed, 0 insertions, 0 deletions