mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
618e165b2a
Synchronize the uapi kernel header files which solves the broken uapi export of pt_regs. Because of arch-specific uapi headers, extended the include path in the Makefile. With this change, the test_verifier program compiles and runs successfully on s390. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reviewed-and-tested-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
10 lines
253 B
C
10 lines
253 B
C
#ifndef _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__
|
|
#define _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__
|
|
|
|
#include <linux/ptrace.h>
|
|
|
|
/* Export kernel pt_regs structure */
|
|
typedef struct pt_regs bpf_user_pt_regs_t;
|
|
|
|
#endif /* _UAPI__ASM_GENERIC_BPF_PERF_EVENT_H__ */
|