git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] Implement support for the GPIO LIB API
[safe/jmp/linux-2.6]
/
mm
/
mprotect.c
diff --git
a/mm/mprotect.c
b/mm/mprotect.c
index
5522784
..
4de5468
100644
(file)
--- a/
mm/mprotect.c
+++ b/
mm/mprotect.c
@@
-194,7
+194,7
@@
success:
vma->vm_flags = newflags;
vma->vm_page_prot = vm_get_page_prot(newflags);
if (vma_wants_writenotify(vma)) {
- vma->vm_page_prot = vm_get_page_prot(newflags);
+ vma->vm_page_prot = vm_get_page_prot(newflags
& ~VM_SHARED
);
dirty_accountable = 1;
}