aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zstd/common/compiler.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2021-11-04 13:23:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-11-07 15:27:38 +0000
commit4e88118c20fc5fa7890230da2d26f0235dd904f5 (patch)
treed29e1acd0c8976a23575cd859f842510d1261a12 /lib/zstd/common/compiler.h
parentperf inject: Add vmlinux and ignore-vmlinux arguments (diff)
downloadkernel-4e88118c20fc5fa7890230da2d26f0235dd904f5.tar.gz
kernel-4e88118c20fc5fa7890230da2d26f0235dd904f5.zip
perf tools: Use __BYTE_ORDER__
Switch from the libc-defined __BYTE_ORDER to the compiler-defined __BYTE_ORDER__ in order to make endianness detection more robust, like it was done for libbpf. Signed-off-by: Ilya Leoshkevich <[email protected]> Suggested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Thomas Richter <[email protected]> Cc: Vasily Gorbik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions