summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/asm/uaccess.h
blob: d0f72b8fcc355b550fa9bb4091fc6fba27644ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _PERF_ASM_UACCESS_H_
#define _PERF_ASM_UACCESS_H_

#define __get_user(src, dest)						\
({									\
	(src) = *dest;							\
	0;								\
})

#define get_user	__get_user

#define access_ok(type, addr, size)	1

#endif