Files
android_kernel_xiaomi_sm8450/arch/x86/include/asm
Borislav Petkov 2d1f406139 x86/MCE: Export memory_error()
Export the function which checks whether an MCE is a memory error to
other users so that we can reuse the logic. Drop the boot_cpu_data use,
while at it, as mce.cpuvendor already has the CPU vendor in there.

Integrate a piece from a patch from Vishal Verma
<vishal.l.verma@intel.com> to export it for modules (nfit).

The main reason we're exporting it is that the nfit handler
nfit_handle_mce() needs to detect a memory error properly before doing
its recovery actions.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170519093915.15413-2-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-05-21 21:39:58 +02:00
..
2017-03-30 09:37:20 +02:00
2014-12-11 11:35:02 +01:00
2015-05-28 15:31:53 +02:00
2012-03-28 18:11:12 +01:00
2015-10-21 11:17:32 +02:00
2015-04-24 15:36:55 +02:00
2017-03-27 08:56:13 +02:00
2016-01-12 12:17:28 +01:00
2015-07-31 13:31:10 +02:00
2017-05-21 21:39:58 +02:00
2016-12-17 12:29:56 +01:00
2014-02-27 08:07:39 -08:00
2017-03-07 08:28:00 +01:00
2015-12-19 11:53:40 +01:00
2011-03-15 15:34:15 -07:00
2015-05-19 15:47:30 +02:00
2016-01-30 11:22:17 +01:00
2016-11-01 07:47:55 +01:00
2016-06-16 00:04:31 +02:00
2015-07-31 13:31:10 +02:00
2017-03-29 12:06:28 -04:00
2017-03-29 12:06:28 -04:00
2017-03-29 12:06:28 -04:00
2017-04-17 12:52:22 -04:00
2016-06-16 00:04:31 +02:00
2015-05-19 15:47:30 +02:00