forked from mirrors/linux
		
	Now that there are different variants of pt_regs for userspace and
kernel, the uapi for the BPF_PROG_TYPE_PERF_EVENT program type must be
changed by exporting the user_pt_regs structure instead of the pt_regs
structure that is in-kernel only.
Fixes: 002af9391b ("powerpc: Split user/kernel definitions of struct pt_regs")
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
		
	
			
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			233 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			233 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 */
 | 
						|
#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__
 | 
						|
#define _UAPI__ASM_BPF_PERF_EVENT_H__
 | 
						|
 | 
						|
#include <asm/ptrace.h>
 | 
						|
 | 
						|
typedef struct user_pt_regs bpf_user_pt_regs_t;
 | 
						|
 | 
						|
#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */
 |