projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[RAMEN9610-21500]ALSA: timer: Fix incorrectly assigned timer instance
[GitHub/MotorolaMobilityLLC/kernel-slsi.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index 86e514bace7e06303cef30df92e91ab920a5d31e..02c493890eecfc9025a684281fcf933369a4c1b1 100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-96,7
+96,7
@@
static long madvise_behavior(struct vm_area_struct *vma,
new_flags |= VM_DONTDUMP;
break;
case MADV_DODUMP:
- if (new_flags & VM_SPECIAL) {
+ if (
!is_vm_hugetlb_page(vma) &&
new_flags & VM_SPECIAL) {
error = -EINVAL;
goto out;
}