Skip to content

Commit 5604575

Browse files
rddunlapmasahir0y
authored andcommitted
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 <[email protected]> Acked-by: Stafford Horne <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 9520a2b commit 5604575

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

usr/include/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ ifeq ($(SRCARCH),arc)
5959
no-header-test += linux/bpf_perf_event.h
6060
endif
6161

62+
ifeq ($(SRCARCH),openrisc)
63+
no-header-test += linux/bpf_perf_event.h
64+
endif
65+
6266
ifeq ($(SRCARCH),powerpc)
6367
no-header-test += linux/bpf_perf_event.h
6468
endif

0 commit comments

Comments
 (0)