aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-17 00:04:40 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2018-12-17 22:00:10 +0100
commitbcb671c2fa0e238eea087fdcb7eba72376ba3697 (patch)
tree528e3c3d1cdb34d3343d26576a2fdd5ffa407fc0
parentMerge branch 'hns-fixes' (diff)
downloadlinux-dev-bcb671c2fa0e238eea087fdcb7eba72376ba3697.tar.xz
linux-dev-bcb671c2fa0e238eea087fdcb7eba72376ba3697.zip
bpf: promote bpf_perf_event.h to mandatory UAPI header
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>
-rw-r--r--include/uapi/asm-generic/Kbuild.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/asm-generic/Kbuild.asm b/include/uapi/asm-generic/Kbuild.asm
index 21381449d98a..355c4ac2c0b0 100644
--- a/include/uapi/asm-generic/Kbuild.asm
+++ b/include/uapi/asm-generic/Kbuild.asm
@@ -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