x86, mce: use a call vector to call the 64bit mce handler
[linux-2.6/mini2440.git] / arch / x86 / kernel / cpu / mcheck / mce.h
blob966ae3c5cb11afac1b4759e8c1cf708c98a1e711
1 #include <linux/init.h>
2 #include <asm/mce.h>
4 void amd_mcheck_init(struct cpuinfo_x86 *c);
5 void intel_p4_mcheck_init(struct cpuinfo_x86 *c);
6 void intel_p5_mcheck_init(struct cpuinfo_x86 *c);
7 void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
8 void winchip_mcheck_init(struct cpuinfo_x86 *c);
11 /* Call the installed machine check handler for this CPU setup. */
12 extern void (*machine_check_vector)(struct pt_regs *, long error_code);
14 #ifdef CONFIG_X86_32
16 extern int nr_mce_banks;
18 void intel_set_thermal_handler(void);
20 #else
22 static inline void intel_set_thermal_handler(void) { }
24 #endif
26 void intel_init_thermal(struct cpuinfo_x86 *c);