!258 [linux-5.4/devel] x86/mce: Add NMIs setup in machine_check func

Merge pull request !258 from LeoLiu-oc/linux-5.4-devel-86-mce-nmi
This commit is contained in:
chinaljp030 2024-11-06 06:36:19 +00:00 committed by Gitee
commit 2e3ee079b1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 0 deletions

View File

@ -2012,7 +2012,9 @@ void (*machine_check_vector)(struct pt_regs *, long error_code) =
dotraplinkage void do_mce(struct pt_regs *regs, long error_code)
{
nmi_enter();
machine_check_vector(regs, error_code);
nmi_exit();
}
/*