]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: add architecture-agnostic headers
authorSirio Balmelli <sirio@b-ad.ch>
Tue, 8 May 2018 13:36:12 +0000 (15:36 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 9 May 2018 22:40:58 +0000 (00:40 +0200)
commit804054dcf6acd908d81e4741c8d5d77e47fbce1b
treef5dc5ce19f87022f78981eea0bca7df2fd37288c
parent677516bec129c48ed44e2d57cd5712583b0bedab
selftests/bpf: add architecture-agnostic headers

The BPF selftests fail to build with missing headers
'asm/bitsperlong.h' and 'asm/errno.h'.

These already exist in 'tools/arch/[arch]/include';
add architecture-agnostic header files in 'tools/include/uapi'
to reference them.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/include/uapi/asm/errno.h [new file with mode: 0644]