linux-openrisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usr/include: openrisc: don't HDRTEST bpf_perf_event.h
@ 2025-04-26  3:08 Randy Dunlap
  2025-04-26  6:00 ` Stafford Horne
  2025-05-03 16:01 ` Masahiro Yamada
  0 siblings, 2 replies; 8+ messages in thread
From: Randy Dunlap @ 2025-04-26  3:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Masahiro Yamada, Jonas Bonn, Stefan Kristiansson,
	Stafford Horne, linux-openrisc, linux-kbuild

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>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: linux-openrisc@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
---
 usr/include/Makefile |    4 ++++
 1 file changed, 4 insertions(+)

--- linux-next-20250424.orig/usr/include/Makefile
+++ linux-next-20250424/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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-05-03 23:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-26  3:08 [PATCH] usr/include: openrisc: don't HDRTEST bpf_perf_event.h Randy Dunlap
2025-04-26  6:00 ` Stafford Horne
2025-04-26 15:45   ` Randy Dunlap
2025-04-26 16:14     ` Stafford Horne
2025-05-03 16:01 ` Masahiro Yamada
2025-05-03 16:13   ` Masahiro Yamada
2025-05-03 23:23     ` Randy Dunlap
2025-05-03 23:31       ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).