x86, mce: don't restart timer if disabled
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 3 Dec 2009 02:33:08 +0000 (11:33 +0900)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 3 Dec 2009 05:27:32 +0000 (21:27 -0800)
commitfe5ed91ddce85a0ed0e4f92c10b099873ef62167
tree3ca148c39006ea48496a4a077a09bbe7a4dd6939
parentb8b7d791a8ff01d2380089279a69afa99115fb23
x86, mce: don't restart timer if disabled

Even it is in error path unlikely taken, add_timer_on() at
CPU_DOWN_FAILED* needs to be skipped if mce_timer is disabled.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Jan Beulich <jbeulich@novell.com>
Cc: <stable@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c