projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'docs-5.7-2' of git://git.lwn.net/linux
[linux-2.6-microblaze.git]
/
arch
/
csky
/
mm
/
fault.c
diff --git
a/arch/csky/mm/fault.c
b/arch/csky/mm/fault.c
index
d3c61b8
..
4e6dc68
100644
(file)
--- a/
arch/csky/mm/fault.c
+++ b/
arch/csky/mm/fault.c
@@
-141,7
+141,7
@@
good_area:
if (!(vma->vm_flags & VM_WRITE))
goto bad_area;
} else {
- if (
!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC
)))
+ if (
unlikely(!vma_is_accessible(vma
)))
goto bad_area;
}