diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2009-12-21 12:55:18 -0500 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-12-24 05:07:08 -0500 |
commit | 43f5e68733cfe8bed3c30b5c14c4993dffb29766 (patch) | |
tree | a963502127176841ad4dddeefe36f473d32609cf | |
parent | 56b34b91e22313294154cee0c16e294cf8a45b61 (diff) |
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>
-rw-r--r-- | drivers/edac/amd64_edac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index a8af27a74825..63c04d31cd7e 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c | |||
@@ -2690,9 +2690,8 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt) | |||
2690 | amd64_printk(KERN_WARNING, "%s", ecc_warning); | 2690 | amd64_printk(KERN_WARNING, "%s", ecc_warning); |
2691 | return -ENODEV; | 2691 | return -ENODEV; |
2692 | } | 2692 | } |
2693 | } else | ||
2694 | /* CLEAR the override, since BIOS controlled it */ | ||
2695 | ecc_enable_override = 0; | 2693 | ecc_enable_override = 0; |
2694 | } | ||
2696 | 2695 | ||
2697 | return 0; | 2696 | return 0; |
2698 | } | 2697 | } |