projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb71b5
)
[PATCH] sys_mincore: s/max/min/
author
Oleg Nesterov
<oleg@tv-sign.ru>
Sun, 17 Dec 2006 15:52:47 +0000
(18:52 +0300)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Sun, 17 Dec 2006 18:21:53 +0000
(10:21 -0800)
fix a typo, sys_mincore() needs min().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus "I'm a moron" Torvalds <torvalds@osdl.org>
mm/mincore.c
patch
|
blob
|
history
diff --git
a/mm/mincore.c
b/mm/mincore.c
index
566b6c2
..
8aca6f7
100644
(file)
--- a/
mm/mincore.c
+++ b/
mm/mincore.c
@@
-142,7
+142,7
@@
asmlinkage long sys_mincore(unsigned long start, size_t len,
* the temporary buffer size.
*/
down_read(¤t->mm->mmap_sem);
- retval = do_mincore(start, tmp, m
ax
(pages, PAGE_SIZE));
+ retval = do_mincore(start, tmp, m
in
(pages, PAGE_SIZE));
up_read(¤t->mm->mmap_sem);
if (retval <= 0)