__mutex_lock_common: use signal_pending_state()
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jun 2008 17:20:42 +0000 (21:20 +0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 09:45:09 +0000 (11:45 +0200)
commit6ad36762d7a88d747f6fed95194b4f7ff5da8df4
tree59cb2e62cbf28be3aed00705f8564eba103fe9c0
parent493d35863dbb692c38c1415fd83d88dfb902ae37
__mutex_lock_common: use signal_pending_state()

Change __mutex_lock_common() to use signal_pending_state() for the sake of
the code re-use.

This adds 7 bytes to kernel/mutex.o, but afaics only because gcc isn't smart
enough.

(btw, uninlining of __mutex_lock_common() shrinks .text from 2722 to 1542,
 perhaps it is worth doing).

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/mutex.c