x86/MCE/AMD: Export smca_get_bank_type symbol
authorMukul Joshi <mukul.joshi@amd.com>
Sun, 28 Mar 2021 02:54:04 +0000 (22:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:53:24 +0000 (15:53 -0400)
commitf38ce910d8dfb7da439d0578d4b97259168306cd
treed609f6518bd8c825b00bf1b5a972faf7621883dd
parent5b9581df9f17b3e356d67735a07da97ba8e1fdd0
x86/MCE/AMD: Export smca_get_bank_type symbol

Export smca_get_bank_type for use in the AMD GPU
driver to determine MCA bank while handling correctable
and uncorrectable errors in GPU UMC.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mce/amd.c