mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 <rdunlap@infradead.org> Acked-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
9520a2b3f0
commit
56045757ac
@ -59,6 +59,10 @@ ifeq ($(SRCARCH),arc)
|
|||||||
no-header-test += linux/bpf_perf_event.h
|
no-header-test += linux/bpf_perf_event.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(SRCARCH),openrisc)
|
||||||
|
no-header-test += linux/bpf_perf_event.h
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(SRCARCH),powerpc)
|
ifeq ($(SRCARCH),powerpc)
|
||||||
no-header-test += linux/bpf_perf_event.h
|
no-header-test += linux/bpf_perf_event.h
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user