linux/arch
Cyrill Gorcunov 8410b13cce x86, mce: Thermal monitoring depends on APIC being enabled
commit 485a2e1973 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-22 15:18:09 -08:00
..
alpha untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
arm untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
avr32 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
blackfin untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
cris untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
frv untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
h8300 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
ia64 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m32r untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m68k untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m68knommu untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
microblaze untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
mips untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
mn10300 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
parisc untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
powerpc module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=y 2010-01-18 10:19:51 -08:00
s390 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
score untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
sh untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
sparc untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
um untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
x86 x86, mce: Thermal monitoring depends on APIC being enabled 2010-01-22 15:18:09 -08:00
xtensa untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
.gitignore
Kconfig oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP 2009-09-17 15:53:42 -04:00