!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:
commit
2e3ee079b1
|
@ -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)
|
dotraplinkage void do_mce(struct pt_regs *regs, long error_code)
|
||||||
{
|
{
|
||||||
|
nmi_enter();
|
||||||
machine_check_vector(regs, error_code);
|
machine_check_vector(regs, error_code);
|
||||||
|
nmi_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue