diff options
| author | Muralidhara M K <[email protected]> | 2023-01-27 17:04:13 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-03-24 13:03:20 +0100 |
| commit | eb2bcdfc3755342f6af5b9b8365f27c05e4bf275 (patch) | |
| tree | 8e130df6210cf14abc077ba4d1e9f754bbd280f2 /lib/crypto/mpi/mpi-bit.c | |
| parent | 32ecdf8688d7b6ae183cce88c9307850ff6918f0 (diff) | |
EDAC/amd64: Split ecc_enabled() into dct/umc functions
Call them using a function pointer in pvt->ops. The "ECC enabled"
check is done outside of the hardware information gathering done in
hw_info_get(). So a high-level function pointer is needed to separate
the legacy and modern paths.
No functional change is intended.
[Yazen: rebased/reworked patch and reworded commit message. ]
Signed-off-by: Muralidhara M K <[email protected]>
Co-developed-by: Naveen Krishna Chatradhi <[email protected]>
Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
Co-developed-by: Yazen Ghannam <[email protected]>
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions