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)
commitcd65cd95128781ca59d06611270fcbd9b4a7cf8d
treef5dc5ce19f87022f78981eea0bca7df2fd37288c
parentea7e3435297c6ba3c8ae51db6ea48f1ed657dc5c
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]