mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
amd64_edac: fix forcing module load/unload
Clear the override flag after force-loading the module. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
This commit is contained in:
parent
56b34b91e2
commit
43f5e68733
1 changed files with 1 additions and 2 deletions
|
@ -2690,9 +2690,8 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)
|
|||
amd64_printk(KERN_WARNING, "%s", ecc_warning);
|
||||
return -ENODEV;
|
||||
}
|
||||
} else
|
||||
/* CLEAR the override, since BIOS controlled it */
|
||||
ecc_enable_override = 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue