]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite13aa1a0f633335458071ad1dfc6dbbdf159bacf
tree6cafbbfb177b93090f9a41515227d5f7402b47a3
parent356816d7561f9ebd87d4e880a1db17cf816bb29f
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