summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-05-29 10:36:05 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-05-30 01:23:35 +0200
commit12ef5634a855eb642b4d28781526fbd830aa7f7a (patch)
tree4a6e09b6c1fc44bf51d12c6dddc923f9f190f58b /kernel/bpf/arraymap.c
parentbe5c5d4e9d8cbdd7fcdcbc45e86e34bc0bd1cefd (diff)
libbpf: simplify endianness check
Rewrite endianness check to use "more canonical" way, using compiler-defined macros, similar to few other places in libbpf. It also is more obvious and shorter. Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions