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 21381449d98a88f0b5f68942b307128a4269926a..355c4ac2c0b0d04ae334f99ae2d9dea86a9cad9c 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