xref: /openbmc/linux/tools/perf/util/include/asm/uaccess.h (revision d7a3d85e)
1 #ifndef _PERF_ASM_UACCESS_H_
2 #define _PERF_ASM_UACCESS_H_
3 
4 #define __get_user(src, dest)						\
5 ({									\
6 	(src) = *dest;							\
7 	0;								\
8 })
9 
10 #define get_user	__get_user
11 
12 #define access_ok(type, addr, size)	1
13 
14 #endif
15