]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: uapi: don't compile test bpf_perf_event.h on xtensa
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 23 Dec 2025 07:04:10 +0000 (08:04 +0100)
committerNathan Chancellor <nathan@kernel.org>
Tue, 6 Jan 2026 22:07:32 +0000 (15:07 -0700)
commite2772ba5f43df6b13b04041fe52b07e8cac06ce0
tree53af021580c95aa264c59bf726166d3d62be7ce2
parentcc45d2ea5cfb820fd95cba1fcc3aed18e80a92d3
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>
usr/include/Makefile