Skip to content

Commit 15ec0fc

Browse files
Liao Pingfangtorvalds
authored andcommitted
kernel/sys.c: replace do_brk with do_brk_flags in comment of prctl_set_mm_map()
Replace do_brk with do_brk_flags in comment of prctl_set_mm_map(), since do_brk was removed in following commit. Fixes: bb177a7 ("mm: do not bug_on on incorrect length in __mm_populate()") Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: https://lkml.kernel.org/r/1600650751-43127-1-git-send-email-wang.yi59@zte.com.cn Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b296a6d commit 15ec0fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/sys.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2034,7 +2034,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data
20342034
* VMAs already unmapped and kernel uses these members for statistics
20352035
* output in procfs mostly, except
20362036
*
2037-
* - @start_brk/@brk which are used in do_brk but kernel lookups
2037+
* - @start_brk/@brk which are used in do_brk_flags but kernel lookups
20382038
* for VMAs when updating these memvers so anything wrong written
20392039
* here cause kernel to swear at userspace program but won't lead
20402040
* to any problem in kernel itself

0 commit comments

Comments
 (0)