projects
/
platform
/
kernel
/
linux-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch/tile: prefer "tilepro" as the name of the 32-bit architecture
[platform/kernel/linux-arm64.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index
b623a24
..
ce22a25
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-3688,7
+3688,7
@@
static int __access_remote_vm(struct task_struct *tsk, struct mm_struct *mm,
*/
#ifdef CONFIG_HAVE_IOREMAP_PROT
vma = find_vma(mm, addr);
- if (!vma)
+ if (!vma
|| vma->vm_start > addr
)
break;
if (vma->vm_ops && vma->vm_ops->access)
ret = vma->vm_ops->access(vma, addr, buf,