kernel/tools/perf/util/include/asm/uaccess.h
2024-07-22 17:22:30 +08:00

16 lines
258 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#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(addr, size) 1
#endif