diff options
Diffstat (limited to 'include/asm-x86/mce.h')
-rw-r--r-- | include/asm-x86/mce.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/asm-x86/mce.h b/include/asm-x86/mce.h index df304fd89c27..e6ff507a73b0 100644 --- a/include/asm-x86/mce.h +++ b/include/asm-x86/mce.h @@ -85,14 +85,7 @@ struct mce_log { #ifdef __KERNEL__ #ifdef CONFIG_X86_32 -#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; - #else /* CONFIG_X86_32 */ #include <asm/atomic.h> @@ -121,6 +114,13 @@ extern int mce_notify_user(void); #endif /* !CONFIG_X86_32 */ + + +#ifdef CONFIG_X86_MCE +extern void mcheck_init(struct cpuinfo_x86 *c); +#else +#define mcheck_init(c) do { } while (0) +#endif extern void stop_mce(void); extern void restart_mce(void); |