aboutsummaryrefslogtreecommitdiff
path: root/init/initramfs.c
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2011-06-08 10:57:46 +0900
committerBorislav Petkov <borislav.petkov@amd.com>2011-06-16 12:10:10 +0200
commitb8325c5b110d7ff460b79588e7e9afdcc73d5c3c (patch)
tree2ffdea5204b0319f71ad5a7793172c37ee08895f /init/initramfs.c
parent2b90e77eaee8809073db5cf43ac9795cc2054dc0 (diff)
x86, mce: Introduce mce_gather_info()
This patch introduces mce_gather_info() which is to be called at the beginning of error handling and gathers minimum error information from proper error registers (and saved registers). As the result of mce_get_rip() is integrated, unnecessary zeroing is removed. This also takes care of saving RIP which is required to make some decision about error severity for SRAR errors, instead of retrieving it later in the handler. Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Acked-by: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/4DEED71A.1060906@jp.fujitsu.com Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions