Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20251223-uapi-nostdinc-v1-3-d91545d794f7@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

authored by

Thomas Weißschuh and committed by
Nathan Chancellor
e2772ba5 cc45d2ea

+4
+4
usr/include/Makefile
··· 65 65 no-header-test += asm/fbio.h 66 66 endif 67 67 68 + ifeq ($(SRCARCH),xtensa) 69 + no-header-test += linux/bpf_perf_event.h 70 + endif 71 + 68 72 # asm-generic/*.h is used by asm/*.h, and should not be included directly 69 73 no-header-test += asm-generic/% 70 74