Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / perf / util / include / asm / uaccess.h
blob6a6f4b990547ecebac9b64420ec4aed1e9dd970c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_ASM_UACCESS_H_
3 #define _PERF_ASM_UACCESS_H_
5 #define __get_user(src, dest) \
6 ({ \
7 (src) = *dest; \
8 0; \
9 })
11 #define get_user __get_user
13 #define access_ok(type, addr, size) 1
15 #endif