summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorWeikang Shi <swkhack@gmail.com>2018-10-30 18:07:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-10-31 11:54:14 -0400
commit2e58f57d859fbe0ce79e052d7a63bba32d5786e8 (patch)
tree7a790022b0178a1bd70b5756fdbe89dee5492884 /kernel/signal.c
parent22ea4eba63410515c1aa6e0dde67bda22d31a660 (diff)
kernel/signal.c: fix a comment error
Because get_signal_to_deliver() was renamed to get_signal() the comment should be fixed. Link: http://lkml.kernel.org/r/1539179128-45709-1-git-send-email-swkhack@gmail.com Signed-off-by: Weikang Shi <swkhack@gmail.com> Reported-by: Christian Brauner <christian@brauner.io> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Anna-Maria Gleixner <anna-maria@linutronix.de> Cc: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 17565240b1c6..9a32bc2088c9 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -892,7 +892,7 @@ static bool prepare_signal(int sig, struct task_struct *p, bool force)
892 /* 892 /*
893 * The first thread which returns from do_signal_stop() 893 * The first thread which returns from do_signal_stop()
894 * will take ->siglock, notice SIGNAL_CLD_MASK, and 894 * will take ->siglock, notice SIGNAL_CLD_MASK, and
895 * notify its parent. See get_signal_to_deliver(). 895 * notify its parent. See get_signal().
896 */ 896 */
897 signal_set_stop_flags(signal, why | SIGNAL_STOP_CONTINUED); 897 signal_set_stop_flags(signal, why | SIGNAL_STOP_CONTINUED);
898 signal->group_stop_count = 0; 898 signal->group_stop_count = 0;