From: Oleg Nesterov Date: Fri, 6 Jun 2014 21:36:46 +0000 (-0700) Subject: signals: s/siginitset/sigemptyset/ in do_sigtimedwait() X-Git-Tag: v3.16-rc1~82^2~4^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6114041aa7e79a28cee554450fc4a67442327c7f;p=platform%2Fkernel%2Flinux-exynos.git signals: s/siginitset/sigemptyset/ in do_sigtimedwait() Cosmetic, but siginitset(0) looks a bit strange, sigemptyset() is what do_sigtimedwait() needs. Signed-off-by: Oleg 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: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/signal.c b/kernel/signal.c index 9b5453e..251ca9c 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2855,7 +2855,7 @@ int do_sigtimedwait(const sigset_t *which, siginfo_t *info, spin_lock_irq(&tsk->sighand->siglock); __set_task_blocked(tsk, &tsk->real_blocked); - siginitset(&tsk->real_blocked, 0); + sigemptyset(&tsk->real_blocked); sig = dequeue_signal(tsk, &mask, info); } spin_unlock_irq(&tsk->sighand->siglock);