x86/mce: Move nmi_enter/exit() into the entry point
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Apr 2020 20:37:31 +0000 (22:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:56 +0000 (15:14 +0200)
commit94a46d316f2b54e3de8a4fa884cb16383db7fcd8
tree6cafbbfb177b93090f9a41515227d5f7402b47a3
parent2c058b03cc06ba485169778a271f87e5ac57dd83
x86/mce: Move nmi_enter/exit() into the entry point

There is no reason to have nmi_enter/exit() in the actual MCE
handlers. Move it to the entry point. This also covers the until now
uncovered initial handler which only prints.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200505135314.243936614@linutronix.de
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/cpu/mce/p5.c
arch/x86/kernel/cpu/mce/winchip.c