Skip to content
Commit d95cf4de authored by Borislav Petkov's avatar Borislav Petkov
Browse files

amd64_edac: Simplify ECC override handling



No need for clearing ecc_enable_override and checking it in two places.
Instead, simply check it during probing and act accordingly. Also,
rename the flag bitfields according to the functionality they actually
represent. What is more, make sure original BIOS ECC settings are
restored when the module is unloaded.

Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 60b341b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment