]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mce: remove oops_begin() use in 64bit machine check
authorAndi Kleen <ak@linux.intel.com>
Tue, 28 Apr 2009 12:25:18 +0000 (14:25 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 May 2009 16:24:13 +0000 (09:24 -0700)
commita966f4bed459e978cc32dc947046f0f02a3cc6b3
tree9e2eaea80b7a2a6fc426ad7f9dd9da844368c101
parenteb1c6091d1897fed6ceb40df01360e0c943c7654
x86, mce: remove oops_begin() use in 64bit machine check

First 32bit doesn't have oops_begin, so it's a barrier of using
this code on 32bit.

On closer examination it turns out oops_begin is not
a good idea in a machine check panic anyways. All oops_begin
does it so check for recursive/parallel oopses and implement the
"wait on oops" heuristic. But there's actually no good reason
to lock machine checks against oopses or prevent them
from recursion. Also "wait on oops" does not really make
sense for a machine check too.

Replace it with a manual bust_spinlocks/console_verbose.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c