diff options
author | Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> | 2015-03-23 10:42:53 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-03-24 12:14:15 +0100 |
commit | 43eaa2a1ad70d72876cdbb2eb5450a2665e4770f (patch) | |
tree | 3da03b9d29bc15d06f19348f34a72d29f5a2ab49 /include/acpi/actbl1.h | |
parent | bf80bbd7dcf525e41e0673fbaa8cd21d2344b460 (diff) |
x86/mce: Define mce_severity function pointer
Rename mce_severity() to mce_severity_intel() and assign the
mce_severity function pointer to mce_severity_amd() during init on AMD.
This way, we can avoid a test to call mce_severity_amd every time we get
into mce_severity(). And it's cleaner to do it this way.
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Suggested-by: Tony Luck <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Chen Yucong <slaoub@gmail.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1427125373-2918-3-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'include/acpi/actbl1.h')
0 files changed, 0 insertions, 0 deletions