mirror of
https://github.com/torvalds/linux.git
synced 2026-09-21 02:13:52 -04:00
[PATCH] i386: Move mce_disabled to asm/mce.h
Allows external actors to disable mce. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andi Kleen <ak@suse.de> ===================================================================
This commit is contained in:
committed by
Andi Kleen
parent
992af68147
commit
105fddb862
@@ -3,3 +3,5 @@ extern void mcheck_init(struct cpuinfo_x86 *c);
|
||||
#else
|
||||
#define mcheck_init(c) do {} while(0)
|
||||
#endif
|
||||
|
||||
extern int mce_disabled;
|
||||
|
||||
Reference in New Issue
Block a user