mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-12 04:22:27 +01:00
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 <[email protected]> Reviewed-and-tested-by: Thomas Richter <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
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__ */
|