diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-04-08 12:31:23 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-28 09:24:10 -0700 |
commit | a65d086235208a3b3546e209d2210048549099b2 (patch) | |
tree | 73a402994453de2e1c977826b163d4999b74226a /arch/x86/kernel/cpu/mcheck/mce.h | |
parent | 6cc6f3ebd19fea722c19630af5ad68af7f51d493 (diff) | |
download | op-kernel-dev-a65d086235208a3b3546e209d2210048549099b2.zip op-kernel-dev-a65d086235208a3b3546e209d2210048549099b2.tar.gz |
x86, mce: unify Intel thermal init
Mechanic unification. No change in code.
[ Impact: cleanup, 32-bit / 64-bit unification ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce.h')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.h b/arch/x86/kernel/cpu/mcheck/mce.h index ae9f628..2d1a54b 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.h +++ b/arch/x86/kernel/cpu/mcheck/mce.h @@ -1,6 +1,8 @@ #include <linux/init.h> #include <asm/mce.h> +#ifdef CONFIG_X86_32 + 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); @@ -12,3 +14,12 @@ extern void (*machine_check_vector)(struct pt_regs *, long error_code); extern int nr_mce_banks; +void intel_set_thermal_handler(void); + +#else + +static inline void intel_set_thermal_handler(void) { } + +#endif + +void intel_init_thermal(struct cpuinfo_x86 *c); |