signals: turn LEGACY_QUEUE macro into static inline function
commitaf7fff9c13d56657dc328c75590f401c99bcecd9
authorPavel Emelyanov <xemul@openvz.org>
Wed, 30 Apr 2008 07:52:34 +0000 (30 00:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:33 +0000 (30 08:29 -0700)
tree8adc8d2039910efb28429cb0aec0f1bde8ff98be
parente1401c6bbb289d154eb0d0c292cc9f8259e4af73
signals: turn LEGACY_QUEUE macro into static inline function

This makes the code more readable, due to less brackets and small letters in
name.

I also move it above the send_signal() as a preparation for the 3rd patch.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c