commit | a05d54c41ecfa1a322b229b4e5ce50c157284f74 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@intel.com> | Tue Oct 06 14:09:06 2020 -0700 |
committer | Borislav Petkov <bp@suse.de> | Wed Oct 07 11:08:59 2020 +0200 |
tree | c5c0852daccf221f05a801f167e3850f4efb7754 | |
parent | 41ce0564bfe2e129d56730418d8c0a9f9f2d31b5 [diff] |
x86/mce: Provide method to find out the type of an exception handler Avoid a proliferation of ex_has_*_handler() functions by having just one function that returns the type of the handler (if any). Drop the __visible attribute for this function. It is not called from assembler so the attribute is not necessary. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20201006210910.21062-3-tony.luck@intel.com