]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86: mce: Don't touch THERMAL_APIC_VECTOR if no active APIC present
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 15 Jun 2009 18:26:33 +0000 (22:26 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Jun 2009 15:10:22 +0000 (17:10 +0200)
commit5ce4243dcefbbc43791ffc36e1be55067ceec916
treede5792470221f709338b293346eb593774375c2f
parent203abd67b75f7714ce98ab0cdbd6cfd7ad79dec4
x86: mce: Don't touch THERMAL_APIC_VECTOR if no active APIC present

If APIC was disabled (for some reason) and as result
it's not even mapped we should not try to enable thermal
interrupts at all.

Reported-by: Simon Holm Thøgersen <odie@cs.aau.dk>
Tested-by: Simon Holm Thøgersen <odie@cs.aau.dk>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <20090615182633.GA7606@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce_intel.c