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