mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00: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;
|