Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: mce: Disable preemption when calling raise_local()
raise_mce() has a code path which does not disable preemption when the raise_local() is called. The per cpu variable access in raise_local() depends on preemption being disabled to be functional. So that code path was either never tested or never tested with CONFIG_DEBUG_PREEMPT enabled. Add the missing preempt_disable/enable() pair around the call. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Chen Gong <[email protected]> Signed-off-by: Tony Luck <[email protected]>
- Loading branch information