]> 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)
commite35c45d59de479a3972788d3fb521edd5ec93c76
treef5dc5ce19f87022f78981eea0bca7df2fd37288c
parent29db97f8dae4f75922fe1c92fa3a29604af4ecee
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]