projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM
[deliverable/linux.git]
/
arch
/
powerpc
/
kernel
/
proc_ppc64.c
diff --git
a/arch/powerpc/kernel/proc_ppc64.c
b/arch/powerpc/kernel/proc_ppc64.c
index 2b87f82df13516cd623e5e42f7f7e673431513c0..2ab8f2be911e055c2d38b726816f9d7fc6b0f3ef 100644
(file)
--- a/
arch/powerpc/kernel/proc_ppc64.c
+++ b/
arch/powerpc/kernel/proc_ppc64.c
@@
-115,8
+115,6
@@
static int page_map_mmap( struct file *file, struct vm_area_struct *vma )
{
struct proc_dir_entry *dp = PDE(file->f_dentry->d_inode);
- vma->vm_flags |= VM_SHM | VM_LOCKED;
-
if ((vma->vm_end - vma->vm_start) > dp->size)
return -EINVAL;
This page took
0.032199 seconds
and
5
git commands to generate.