Commit 6114041a authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds
Browse files

signals: s/siginitset/sigemptyset/ in do_sigtimedwait()

Cosmetic, but siginitset(0) looks a bit strange, sigemptyset() is what
do_sigtimedwait() needs.
Signed-off-by: default avatarOleg Nesterov <>
Cc: Peter Zijlstra <>
Cc: Al Viro <>
Cc: David Woodhouse <>
Cc: Frederic Weisbecker <>
Cc: Geert Uytterhoeven <>
Cc: Ingo Molnar <>
Cc: Mathieu Desnoyers <>
Cc: Richard Weinberger <>
Cc: Steven Rostedt <>
Cc: Tejun Heo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 36fac0a2
......@@ -2855,7 +2855,7 @@ int do_sigtimedwait(const sigset_t *which, siginfo_t *info,
__set_task_blocked(tsk, &tsk->real_blocked);
siginitset(&tsk->real_blocked, 0);
sig = dequeue_signal(tsk, &mask, info);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment