]>
Commit | Line | Data |
---|---|---|
32b75768 JB |
1 | --- linux-4.12/tools/perf/util/libunwind/x86_32.c.orig 2017-07-03 01:07:02.000000000 +0200 |
2 | +++ linux-4.12/tools/perf/util/libunwind/x86_32.c 2017-07-13 18:03:18.986458842 +0200 | |
3 | @@ -25,6 +25,7 @@ | |
4 | #include "libunwind-x86.h" | |
5 | #include <../../../../arch/x86/include/uapi/asm/perf_regs.h> | |
6 | ||
7 | +#define EINVAL 22 | |
8 | /* HAVE_ARCH_X86_64_SUPPORT is used in'arch/x86/util/unwind-libunwind.c' | |
9 | * for x86_32, we undef it to compile code for x86_32 only. | |
10 | */ | |
319723eb JB |
11 | --- linux-5.16/tools/perf/arch/x86/tests/arch-tests.c.orig 2022-01-15 10:37:17.937990467 +0100 |
12 | +++ linux-5.16/tools/perf/arch/x86/tests/arch-tests.c 2022-01-15 11:34:56.522587040 +0100 | |
13 | @@ -8,7 +8,7 @@ DEFINE_SUITE("x86 rdpmc", rdpmc); | |
14 | DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86); | |
15 | DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder); | |
678217c0 JB |
16 | #endif |
17 | -#if defined(__x86_64__) | |
18 | +#if defined(__x86_64__) && !defined(__ILP32__) | |
319723eb JB |
19 | DEFINE_SUITE("x86 bp modify", bp_modify); |
20 | #endif | |
21 | DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing); | |
22 | @@ -22,7 +22,7 @@ struct test_suite *arch_tests[] = { | |
23 | &suite__insn_x86, | |
24 | &suite__intel_pt_pkt_decoder, | |
25 | #endif | |
26 | -#if defined(__x86_64__) | |
27 | +#if defined(__x86_64__) && !defined(__ILP32__) | |
28 | &suite__bp_modify, | |
29 | #endif | |
30 | &suite__x86_sample_parsing, |