linux/arch/x86/kernel/cpu/mcheck
Cyrill Gorcunov 485a2e1973 x86, mce: Thermal monitoring depends on APIC being enabled
Add check if APIC is not disabled since thermal
monitoring depends on it. As only apic gets disabled
we should not try to install "thermal monitor" vector,
print out that thermal monitoring is enabled and etc...

Note that "Intel Correct Machine Check Interrupts" already
has such a check.

Also I decided to not add cpu_has_apic check into
mcheck_intel_therm_init since even if it'll call apic_read on
disabled apic -- it's safe here and allow us to save a few code
bytes.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
LKML-Reference: <4B25FDC2.3020401@jp.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-14 10:38:41 +01:00
..
Makefile x86: mce: Rename CONFIG_X86_NEW_MCE to CONFIG_X86_MCE 2009-07-09 18:39:47 -07:00
mce-inject.c x86: mce, inject: Use real inject-msg in raise_local 2009-09-22 21:06:37 +02:00
mce-internal.h x86, mce: Move debugfs mce dir creating to mce.c 2009-08-10 13:58:53 -07:00
mce-severity.c x86, mce: Fix compilation with !CONFIG_DEBUG_FS in mce-severity.c 2009-09-14 12:01:04 -07:00
mce.c x86, mce: fix confusion between bank attributes and mce attributes 2009-12-08 12:11:20 -08:00
mce_amd.c x86, mce: Fix compile warning in case of CONFIG_SMP=n 2009-09-19 19:48:14 +02:00
mce_intel.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
p5.c x86, mce: make mce_disabled boolean 2009-06-16 16:56:07 -07:00
therm_throt.c x86, mce: Thermal monitoring depends on APIC being enabled 2009-12-14 10:38:41 +01:00
threshold.c x86, mce: enable MCE_INTEL for 32bit new MCE 2009-05-28 09:24:13 -07:00
winchip.c x86, mce: unify mce.h 2009-06-16 16:56:07 -07:00