mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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: bb177a732c
("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>
This commit is contained in:
committed by
Linus Torvalds
parent
b296a6d533
commit
15ec0fcff6
@@ -2034,7 +2034,7 @@ static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data
|
|||||||
* VMAs already unmapped and kernel uses these members for statistics
|
* VMAs already unmapped and kernel uses these members for statistics
|
||||||
* output in procfs mostly, except
|
* output in procfs mostly, except
|
||||||
*
|
*
|
||||||
* - @start_brk/@brk which are used in do_brk but kernel lookups
|
* - @start_brk/@brk which are used in do_brk_flags but kernel lookups
|
||||||
* for VMAs when updating these memvers so anything wrong written
|
* for VMAs when updating these memvers so anything wrong written
|
||||||
* here cause kernel to swear at userspace program but won't lead
|
* here cause kernel to swear at userspace program but won't lead
|
||||||
* to any problem in kernel itself
|
* to any problem in kernel itself
|
||||||
|
Reference in New Issue
Block a user