diff mbox series

bpf: promote bpf_perf_event.h to mandatory UAPI header

Message ID 1544972680-4105-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit bcb671c2fa0e238eea087fdcb7eba72376ba3697
Headers show
Series bpf: promote bpf_perf_event.h to mandatory UAPI header | expand

Commit Message

Masahiro Yamada Dec. 16, 2018, 3:04 p.m. UTC
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>

---

 include/uapi/asm-generic/Kbuild.asm | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

Comments

Daniel Borkmann Dec. 17, 2018, 9:03 p.m. UTC | #1
On 12/16/2018 04:04 PM, Masahiro Yamada wrote:
> 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>


Applied to bpf, thanks Masahiro!
diff mbox series

Patch

diff --git a/include/uapi/asm-generic/Kbuild.asm b/include/uapi/asm-generic/Kbuild.asm
index 2138144..355c4ac 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