mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 15:48:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
6
arch/mn10300/include/uapi/asm/mman.h
Normal file
6
arch/mn10300/include/uapi/asm/mman.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <asm-generic/mman.h>
|
||||
|
||||
#define MIN_MAP_ADDR PAGE_SIZE /* minimum fixed mmap address */
|
||||
|
||||
#define arch_mmap_check(addr, len, flags) \
|
||||
(((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue