aboutsummaryrefslogtreecommitdiff
path: root/lib/cmpdi2.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2021-03-04 09:51:52 -0300
committerArnaldo Carvalho de Melo2021-03-06 16:54:32 -0300
commitc1f272df510c6b1db68ca6597724d17b557d1407 (patch)
tree11cfab4d9e04752006c44663bf53c5c785be5952 /lib/cmpdi2.c
parent7d9d4c6edba93cd96899affe2fc60c3341df152c (diff)
perf tests x86: Move insn.h include to make sure it finds stddef.h
In some versions of alpine Linux the perf build is broken since commit 1d509f2a6ebca1ae ("x86/insn: Support big endian cross-compiles"): In file included from /usr/include/linux/byteorder/little_endian.h:13, from /usr/include/asm/byteorder.h:5, from arch/x86/util/../../../../arch/x86/include/asm/insn.h:10, from arch/x86/util/archinsn.c:2: /usr/include/linux/swab.h:161:8: error: unknown type name '__always_inline' static __always_inline __u16 __swab16p(const __u16 *p) So move the inclusion of arch/x86/include/asm/insn.h to later in the places where linux/stddef.h (that conditionally defines __always_inline) to workaround this problem on Alpine Linux 3.9 to 3.11, 3.12 onwards works. Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/cmpdi2.c')
0 files changed, 0 insertions, 0 deletions