OSDN Git Service

bpf: promote bpf_perf_event.h to mandatory UAPI header
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 16 Dec 2018 15:04:40 +0000 (00:04 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 17 Dec 2018 21:00:10 +0000 (22:00 +0100)
Since commit c895f6f703ad ("bpf: correct broken uapi for
BPF_PROG_TYPE_PERF_EVENT program type"), all architectures
(except um) are required to have bpf_perf_event.h in uapi/asm.

Add it to mandatory-y so "make headers_install" can check it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/asm-generic/Kbuild.asm

index 2138144..355c4ac 100644 (file)
@@ -3,6 +3,7 @@
 #
 mandatory-y += auxvec.h
 mandatory-y += bitsperlong.h
+mandatory-y += bpf_perf_event.h
 mandatory-y += byteorder.h
 mandatory-y += errno.h
 mandatory-y += fcntl.h