]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib bpf: use __u32 from linux/types.h
authorJoe Stringer <joe@ovn.org>
Fri, 9 Dec 2016 02:46:15 +0000 (18:46 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:46 +0000 (16:25 -0300)
commitc0d2c78018b0eea7e15ca57a43b0ead9f6a7bf0e
tree47412c073b00540663071f10dc46e1f4f2cb2128
parenteafa30d0521bbd77cdd060078d2413672e4e6c0a
tools lib bpf: use __u32 from linux/types.h

Fixes the following issue when building without access to 'u32' type:

./tools/lib/bpf/bpf.h:27:23: error: unknown type name ‘u32’

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Link: http://lkml.kernel.org/r/20161209024620.31660-3-joe@ovn.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h