aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mce.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 07:30:17 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:17 -0500
commitaf7a78e9258ffcca681e080cbc857f854869144f (patch)
tree7eacb730f4fa5ea9cdcec1b2ef0f6dd3d74099d4 /include/asm-x86/mce.h
parent718fc13b4675470ea191522ef98b02a55d990fa1 (diff)
x86: move mce related declarations
Move the mce related declarations where they belong, fix the users and remove 32bit dependency in mce.h Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mce.h')
-rw-r--r--include/asm-x86/mce.h14
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 {
85#ifdef __KERNEL__ 85#ifdef __KERNEL__
86 86
87#ifdef CONFIG_X86_32 87#ifdef CONFIG_X86_32
88#ifdef CONFIG_X86_MCE
89extern void mcheck_init(struct cpuinfo_x86 *c);
90#else
91#define mcheck_init(c) do {} while(0)
92#endif
93
94extern int mce_disabled; 88extern int mce_disabled;
95
96#else /* CONFIG_X86_32 */ 89#else /* CONFIG_X86_32 */
97 90
98#include <asm/atomic.h> 91#include <asm/atomic.h>
@@ -121,6 +114,13 @@ extern int mce_notify_user(void);
121 114
122#endif /* !CONFIG_X86_32 */ 115#endif /* !CONFIG_X86_32 */
123 116
117
118
119#ifdef CONFIG_X86_MCE
120extern void mcheck_init(struct cpuinfo_x86 *c);
121#else
122#define mcheck_init(c) do { } while (0)
123#endif
124extern void stop_mce(void); 124extern void stop_mce(void);
125extern void restart_mce(void); 125extern void restart_mce(void);
126 126