diff options
author | Shaohua Li <shaohua.li@intel.com> | 2005-11-07 03:58:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:30 -0500 |
commit | 31ab269a0307d8725737dfbbdeb5dcde7b41bc36 (patch) | |
tree | 15bfdaddcb3831d30e6d34caa54356b63adc61ae /include | |
parent | 47b90ffe5c10ab9b5cfd14087b28b13109673ee5 (diff) |
[PATCH] x86: add MCE resume
It's widely seen a MCE non-fatal error reported after resume. It seems MCE
resume is lacked under ia32. This patch tries to fix the gap.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/processor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 0a4ec764377c..8c02b0318703 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -718,4 +718,10 @@ extern void mtrr_bp_init(void); | |||
718 | #define mtrr_bp_init() do {} while (0) | 718 | #define mtrr_bp_init() do {} while (0) |
719 | #endif | 719 | #endif |
720 | 720 | ||
721 | #ifdef CONFIG_X86_MCE | ||
722 | extern void mcheck_init(struct cpuinfo_x86 *c); | ||
723 | #else | ||
724 | #define mcheck_init(c) do {} while(0) | ||
725 | #endif | ||
726 | |||
721 | #endif /* __ASM_I386_PROCESSOR_H */ | 727 | #endif /* __ASM_I386_PROCESSOR_H */ |