x86/traps: Use SEND_SIG_PRIV instead of force_sig()
authorOleg Nesterov <oleg@redhat.com>
Wed, 7 May 2014 14:47:09 +0000 (16:47 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 14 May 2014 11:57:26 +0000 (13:57 +0200)
commit38cad57be9800e46c52a3612fb9d963eee4fd9c3
treeee716f7a87c1edd96f7f8705fd09362689492aec
parent5e1b05beeca8139204324581a5b1ffb53d057f96
x86/traps: Use SEND_SIG_PRIV instead of force_sig()

force_sig() is just force_sig_info(SEND_SIG_PRIV). Imho it should die,
we have too many ugly "send signal" helpers.

And do_trap() looks just ugly because it uses force_sig_info() or
force_sig() depending on info != NULL.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
arch/x86/kernel/traps.c