]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Unify sys_tkill() and sys_tgkill()
authorVadim Lobanov <vlobanov@speakeasy.net>
Sun, 30 Oct 2005 23:02:18 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:19 +0000 (17:37 -0800)
commit23db1801afa5311de9814e8a74a3a3d4ad510077
tree66094a2fdf02fd808b0661cc2a26c6ff64d1c590
parent4103c0d8049c1e5e1454003a920c1219f6168b8c
[PATCH] Unify sys_tkill() and sys_tgkill()

The majority of the sys_tkill() and sys_tgkill() function code is
duplicated between the two of them.  This patch pulls the duplication out
into a separate function -- do_tkill() -- and lets sys_tkill() and
sys_tgkill() be simple wrappers around it.  This should make it easier to
maintain in light of future changes.

Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c