diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-05-29 10:36:05 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-05-30 01:23:35 +0200 |
commit | 12ef5634a855eb642b4d28781526fbd830aa7f7a (patch) | |
tree | 4a6e09b6c1fc44bf51d12c6dddc923f9f190f58b /kernel/bpf/arraymap.c | |
parent | be5c5d4e9d8cbdd7fcdcbc45e86e34bc0bd1cefd (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