diff options
author | 2011-06-08 10:58:35 +0900 | |
---|---|---|
committer | 2011-06-16 12:10:12 +0200 | |
commit | 3a97fc34130326da87b20de5d0259c35406707ce (patch) | |
tree | 819dd0a1734bbd88aa25241eb229123f2e1cb1eb /kernel/fork.c | |
parent | x86, mce: Introduce mce_gather_info() (diff) | |
download | wireguard-linux-3a97fc34130326da87b20de5d0259c35406707ce.tar.xz wireguard-linux-3a97fc34130326da87b20de5d0259c35406707ce.zip |
x86, mce: Check the result of ancient_init()
Because "ancient CPUs" like p5 and winchip don't have X86_FEATURE_MCA
(I suppose so), mcheck_cpu_init() on such CPUs will return at check of
mce_available() after __mcheck_cpu_ancient_init().
It is hard to know this implicit behavior without knowing the CPUs
well. So make it clear that we leave mcheck_cpu_init() when the CPU is
initialized in __mcheck_cpu_ancient_init().
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/4DEED74B.20502@jp.fujitsu.com
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions