1 #include <linux/init.h>
4 #ifdef CONFIG_X86_OLD_MCE
5 void amd_mcheck_init(struct cpuinfo_x86
*c
);
6 void intel_p4_mcheck_init(struct cpuinfo_x86
*c
);
7 void intel_p6_mcheck_init(struct cpuinfo_x86
*c
);
10 #ifdef CONFIG_X86_ANCIENT_MCE
11 void intel_p5_mcheck_init(struct cpuinfo_x86
*c
);
12 void winchip_mcheck_init(struct cpuinfo_x86
*c
);
13 extern int mce_p5_enable
;
14 static inline int mce_p5_enabled(void) { return mce_p5_enable
; }
15 static inline void enable_p5_mce(void) { mce_p5_enable
= 1; }
17 static inline void intel_p5_mcheck_init(struct cpuinfo_x86
*c
) {}
18 static inline void winchip_mcheck_init(struct cpuinfo_x86
*c
) {}
19 static inline int mce_p5_enabled(void) { return 0; }
20 static inline void enable_p5_mce(void) { }
23 /* Call the installed machine check handler for this CPU setup. */
24 extern void (*machine_check_vector
)(struct pt_regs
*, long error_code
);
26 #ifdef CONFIG_X86_OLD_MCE
28 extern int nr_mce_banks
;
30 void intel_set_thermal_handler(void);
34 static inline void intel_set_thermal_handler(void) { }
38 void intel_init_thermal(struct cpuinfo_x86
*c
);