Unverified Commit e2772ba5 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Nathan Chancellor
Browse files

kbuild: uapi: don't compile test bpf_perf_event.h on xtensa



The xtensa UAPI headers do not provide 'struct pt_regs',
triggering an error:

usr/include/linux/bpf_perf_event.h:14:28: error: field 'regs' has incomplete type

Disable the header tests for this file on xtensa.

Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20251223-uapi-nostdinc-v1-3-d91545d794f7@linutronix.de


Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
parent cc45d2ea
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@ no-header-test += asm/uctx.h
no-header-test += asm/fbio.h
endif

ifeq ($(SRCARCH),xtensa)
no-header-test += linux/bpf_perf_event.h
endif

# asm-generic/*.h is used by asm/*.h, and should not be included directly
no-header-test += asm-generic/%