diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-08-05 13:01:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-05 14:33:47 -0700 |
commit | 5b2becc8cffdccdd60c63099f592ddd35aa6c34f (patch) | |
tree | e502280aee4d93b059a93526ba3f02a6883a596d /init/initramfs.c | |
parent | 32194450330be327f3b25bf6b66298bd122599e9 (diff) |
semaphore: __down_common: use signal_pending_state()
Change __down_common() to use signal_pending_state() instead of open
coding.
The changes in kernel/semaphore.o are just artifacts, the state checks are
optimized away.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions