diff options
| author | Borislav Petkov <[email protected]> | 2017-05-19 09:39:09 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-05-21 19:39:58 +0000 |
| commit | 2d1f406139ec20320bf38bcd2461aa8e358084b5 (patch) | |
| tree | cacc883680bc0eaaaf78f8957b0c11c3a3f13c91 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | Merge tag 'trace-v4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-2d1f406139ec20320bf38bcd2461aa8e358084b5.tar.gz kernel-2d1f406139ec20320bf38bcd2461aa8e358084b5.zip | |
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
<[email protected]> 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 <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
