git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f6462
)
mmap: remove unnecessary code
author
Huang Shijie
<shijie8@gmail.com>
Tue, 22 Sep 2009 00:03:36 +0000
(17:03 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:41 +0000
(07:17 -0700)
If (flags & MAP_LOCKED) is true, it means vm_flags has already contained
the bit VM_LOCKED which is set by calc_vm_flag_bits().
So there is no need to reset it again, just remove it.
Signed-off-by: Huang Shijie <shijie8@gmail.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c
patch
|
blob
|
history
diff --cc
mm/mmap.c
Simple merge