diff options
author | 2025-04-25 20:08:15 -0700 | |
---|---|---|
committer | 2025-05-12 15:03:17 +0900 | |
commit | 56045757accf5a51c9146585acd5f76fa4fbdb97 (patch) | |
tree | 03dd87c2977c95aa6a21288276c20dafdbee9877 /usr | |
parent | kbuild: Require pahole <v1.28 or >v1.29 with GENDWARFKSYMS on X86 (diff) | |
download | wireguard-linux-56045757accf5a51c9146585acd5f76fa4fbdb97.tar.xz wireguard-linux-56045757accf5a51c9146585acd5f76fa4fbdb97.zip |
usr/include: openrisc: don't HDRTEST bpf_perf_event.h
Since openrisc does not support PERF_EVENTS, omit the HDRTEST of
bpf_perf_event.h for arch/openrisc/.
Fixes a build error:
usr/include/linux/bpf_perf_event.h:14:28: error: field 'regs' has incomplete type
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/include/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/include/Makefile b/usr/include/Makefile index e3d6b03527fe..f02f41941b60 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -59,6 +59,10 @@ ifeq ($(SRCARCH),arc) no-header-test += linux/bpf_perf_event.h endif +ifeq ($(SRCARCH),openrisc) +no-header-test += linux/bpf_perf_event.h +endif + ifeq ($(SRCARCH),powerpc) no-header-test += linux/bpf_perf_event.h endif |