diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/edac.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/edac.h b/include/linux/edac.h index 87aa07d2ee28..67717cab1313 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h | |||
| @@ -324,6 +324,8 @@ struct dimm_info { | |||
| 324 | enum mem_type mtype; /* memory dimm type */ | 324 | enum mem_type mtype; /* memory dimm type */ |
| 325 | enum edac_type edac_mode; /* EDAC mode for this dimm */ | 325 | enum edac_type edac_mode; /* EDAC mode for this dimm */ |
| 326 | 326 | ||
| 327 | u32 nr_pages; /* number of pages in csrow */ | ||
| 328 | |||
| 327 | u32 ce_count; /* Correctable Errors for this dimm */ | 329 | u32 ce_count; /* Correctable Errors for this dimm */ |
| 328 | }; | 330 | }; |
| 329 | 331 | ||
| @@ -350,12 +352,12 @@ struct rank_info { | |||
| 350 | }; | 352 | }; |
| 351 | 353 | ||
| 352 | struct csrow_info { | 354 | struct csrow_info { |
| 355 | /* Used only by edac_mc_find_csrow_by_page() */ | ||
| 353 | unsigned long first_page; /* first page number in csrow */ | 356 | unsigned long first_page; /* first page number in csrow */ |
| 354 | unsigned long last_page; /* last page number in csrow */ | 357 | unsigned long last_page; /* last page number in csrow */ |
| 355 | u32 nr_pages; /* number of pages in csrow */ | ||
| 356 | unsigned long page_mask; /* used for interleaving - | 358 | unsigned long page_mask; /* used for interleaving - |
| 357 | * 0UL for non intlv | 359 | * 0UL for non intlv */ |
| 358 | */ | 360 | |
| 359 | int csrow_idx; /* the chip-select row */ | 361 | int csrow_idx; /* the chip-select row */ |
| 360 | 362 | ||
| 361 | u32 ue_count; /* Uncorrectable Errors for this csrow */ | 363 | u32 ue_count; /* Uncorrectable Errors for this csrow */ |
