aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/edac.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/edac.h')
-rw-r--r--include/linux/edac.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h
index ab1ea98e767c..0b763276f619 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -675,11 +675,11 @@ struct mem_ctl_info {
675 * sees memory sticks ("dimms"), and the ones that sees memory ranks. 675 * sees memory sticks ("dimms"), and the ones that sees memory ranks.
676 * All old memory controllers enumerate memories per rank, but most 676 * All old memory controllers enumerate memories per rank, but most
677 * of the recent drivers enumerate memories per DIMM, instead. 677 * of the recent drivers enumerate memories per DIMM, instead.
678 * When the memory controller is per rank, mem_is_per_rank is true. 678 * When the memory controller is per rank, csbased is true.
679 */ 679 */
680 unsigned n_layers; 680 unsigned n_layers;
681 struct edac_mc_layer *layers; 681 struct edac_mc_layer *layers;
682 bool mem_is_per_rank; 682 bool csbased;
683 683
684 /* 684 /*
685 * DIMM info. Will eventually remove the entire csrows_info some day 685 * DIMM info. Will eventually remove the entire csrows_info some day
@@ -740,8 +740,6 @@ struct mem_ctl_info {
740 u32 fake_inject_ue; 740 u32 fake_inject_ue;
741 u16 fake_inject_count; 741 u16 fake_inject_count;
742#endif 742#endif
743 __u8 csbased : 1, /* csrow-based memory controller */
744 __resv : 7;
745}; 743};
746 744
747#endif 745#endif