]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/perf/util/include/asm/uaccess.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / perf / util / include / asm / uaccess.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_ASM_UACCESS_H_
3 #define _PERF_ASM_UACCESS_H_
4
5 #define __get_user(src, dest) \
6 ({ \
7 (src) = *dest; \
8 0; \
9 })
10
11 #define get_user __get_user
12
13 #define access_ok(type, addr, size) 1
14
15 #endif