signal/x86/traps: Factor out show_signal
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 3 Aug 2017 19:34:24 +0000 (14:34 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 19 Sep 2018 13:54:44 +0000 (15:54 +0200)
commit6ace1098a68cbf4cb570f73eb650b00f9a3efc97
tree7154e2047bae752bfca898fff320861f5c040d11
parent8d68fa0e083995b48be6b66e04afe746d4654b0c
signal/x86/traps: Factor out show_signal

The code for conditionally printing unhanded signals is duplicated twice
in arch/x86/kernel/traps.c.  Factor it out into it's own subroutine
called show_signal to make the code clearer and easier to maintain.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/x86/kernel/traps.c