diff options
author | Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> | 2015-05-06 13:58:53 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-05-06 19:49:20 +0200 |
commit | afdf344e08fbec28ab2204a626fa1f260dcb68be (patch) | |
tree | 66ac120abcf8a7590e8956df40106faadaba7d00 /kernel/futex.c | |
parent | Linux 4.1-rc2 (diff) | |
download | linux-afdf344e08fbec28ab2204a626fa1f260dcb68be.tar.xz linux-afdf344e08fbec28ab2204a626fa1f260dcb68be.zip |
x86/mce/amd: Factor out logging mechanism
Refactor the code here to setup struct mce and call mce_log() to log
the error. We're going to reuse this in a later patch as part of the
deferred error interrupt enablement.
No functional change is introduced.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: x86-ml <x86@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1430913538-1415-2-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions