diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-11 09:07:46 -0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-03-16 06:32:02 +0100 |
commit | 1eef1282549d7accdd33ee36d409b039b1f911fb (patch) | |
tree | bf1be1193b2bcf6d2ab45fbcca7755050399be97 /include/linux | |
parent | fbe2d3616cee37418d832b30130811888c5aaf34 (diff) |
amd64_edac: Correct DIMM sizes
We were filling the csrow size with a wrong value. 16a528ee3975 ("EDAC:
Fix csrow size reported in sysfs") tried to address the issue. It fixed
the report with the old API but not with the new one. Correct it for the
new API too.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
[ make it a per-csrow accounting regardless of ->channel_count ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/edac.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h index 4fd4999ccb5..ab1ea98e767 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -561,7 +561,6 @@ struct csrow_info { u32 ue_count; /* Uncorrectable Errors for this csrow */ u32 ce_count; /* Correctable Errors for this csrow */ - u32 nr_pages; /* combined pages count of all channels */ struct mem_ctl_info *mci; /* the parent */ |