x86/dumpstack: Carve out code-dumping into a function
authorBorislav Petkov <bp@suse.de>
Tue, 17 Apr 2018 16:11:18 +0000 (18:11 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 26 Apr 2018 14:15:26 +0000 (16:15 +0200)
commitf0a1d7c11c3ebe2f601b448d13e7fbc3a0364a03
treeb792e07a725ea960c36bd7e389cd8518ec5b7e0b
parent5df61707f0bdf8dce714a14806740e6abf2114c7
x86/dumpstack: Carve out code-dumping into a function

No functionality change, carve it out into a separate function for later
changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: https://lkml.kernel.org/r/20180417161124.5294-4-bp@alien8.de
arch/x86/kernel/dumpstack.c