xref: /linux/tools/perf/util/include/asm/uaccess.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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