commit | ad16a4606939ce1bedb79c87e412467be803e990 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed Apr 30 00:52:46 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 30 08:29:34 2008 -0700 |
tree | d9b1e96c2520c9c08660c4dfd5258b2acdc8d1ef | |
parent | fc321d2e60d6f4eee17206612d0b50519f526daf [diff] |
handle_stop_signal: use the cached p->signal value Cache the value of p->signal, and change the code to use while_each_thread() helper. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Roland McGrath <roland@redhat.com> Cc: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>