mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 18:46:41 +07:00
105fddb862
Allows external actors to disable mce. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andi Kleen <ak@suse.de> ===================================================================
8 lines
147 B
C
8 lines
147 B
C
#ifdef CONFIG_X86_MCE
|
|
extern void mcheck_init(struct cpuinfo_x86 *c);
|
|
#else
|
|
#define mcheck_init(c) do {} while(0)
|
|
#endif
|
|
|
|
extern int mce_disabled;
|