2d1a54bdadfc30f11198467bb2bc50c39425f73f
[pandora-kernel.git] / arch / x86 / kernel / cpu / mcheck / mce.h
1 #include <linux/init.h>
2 #include <asm/mce.h>
3
4 #ifdef CONFIG_X86_32
5
6 void amd_mcheck_init(struct cpuinfo_x86 *c);
7 void intel_p4_mcheck_init(struct cpuinfo_x86 *c);
8 void intel_p5_mcheck_init(struct cpuinfo_x86 *c);
9 void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
10 void winchip_mcheck_init(struct cpuinfo_x86 *c);
11
12 /* Call the installed machine check handler for this CPU setup. */
13 extern void (*machine_check_vector)(struct pt_regs *, long error_code);
14
15 extern int nr_mce_banks;
16
17 void intel_set_thermal_handler(void);
18
19 #else
20
21 static inline void intel_set_thermal_handler(void) { }
22
23 #endif
24
25 void intel_init_thermal(struct cpuinfo_x86 *c);