diff options
author | Aravind Gopalakrishnan <[email protected]> | 2015-03-23 10:42:53 -0500 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2015-03-24 12:14:15 +0100 |
commit | 43eaa2a1ad70d72876cdbb2eb5450a2665e4770f (patch) | |
tree | 3da03b9d29bc15d06f19348f34a72d29f5a2ab49 /net/lapb/lapb_iface.c | |
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 <[email protected]>
Suggested-by: Tony Luck <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Chen Yucong <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions