From: Randy Dunlap Date: Sat, 26 Apr 2025 03:08:15 +0000 (-0700) Subject: usr/include: openrisc: don't HDRTEST bpf_perf_event.h X-Git-Tag: v6.15-rc7~27^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56045757accf5a51c9146585acd5f76fa4fbdb97;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Stafford Horne Signed-off-by: Masahiro Yamada --- diff --git a/usr/include/Makefile b/usr/include/Makefile index e3d6b03527fec..f02f41941b60c 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