2005-04-16 15:20:36 -07:00
|
|
|
#include <linux/init.h>
|
2007-02-13 13:26:26 +01:00
|
|
|
#include <asm/mce.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
void amd_mcheck_init(struct cpuinfo_x86 *c);
|
|
|
|
|
void intel_p4_mcheck_init(struct cpuinfo_x86 *c);
|
|
|
|
|
void intel_p5_mcheck_init(struct cpuinfo_x86 *c);
|
|
|
|
|
void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
|
|
|
|
|
void winchip_mcheck_init(struct cpuinfo_x86 *c);
|
|
|
|
|
|
2009-04-08 12:31:26 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
/* Call the installed machine check handler for this CPU setup. */
|
2008-01-30 13:31:17 +01:00
|
|
|
extern void (*machine_check_vector)(struct pt_regs *, long error_code);
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-04-27 19:25:48 +02:00
|
|
|
#ifdef CONFIG_X86_32
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
extern int nr_mce_banks;
|
|
|
|
|
|
2009-04-08 12:31:23 +02:00
|
|
|
void intel_set_thermal_handler(void);
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
|
|
static inline void intel_set_thermal_handler(void) { }
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
void intel_init_thermal(struct cpuinfo_x86 *c);
|