mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-01 00:28:51 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
14
tools/perf/util/include/asm/uaccess.h
Normal file
14
tools/perf/util/include/asm/uaccess.h
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue