x86/mce: Carve out the crashing_cpu check
authorBorislav Petkov <bp@suse.de>
Fri, 22 Jun 2018 09:54:24 +0000 (11:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 22 Jun 2018 12:37:22 +0000 (14:37 +0200)
commitd3d6923cd1ae61a493a405f2f001293ab62eb092
treecfe9a2cd9cb3d724c6c05c2951148d72cd20182a
parentbc39f010200d09dc6d4d5e613e86dfd0b22c63b3
x86/mce: Carve out the crashing_cpu check

Carve out the rendezvous handler timeout avoidance check into a separate
function in order to simplify the #MC handler.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20180622095428.626-4-bp@alien8.de
arch/x86/kernel/cpu/mcheck/mce.c