diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2009-07-23 08:45:48 -0400 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-09-14 12:58:18 -0400 |
commit | ef44cc4c2245d3c43f3c11c7bff6239852eef498 (patch) | |
tree | cac7e3a36daa98fecc38cd66033ee3e279874cdb /drivers/edac/amd64_edac.h | |
parent | 1c43f2e24d059913bce58887f1d6e4267aaed284 (diff) |
amd64_edac: cleanup amd64_process_error_info
* mv amd64_error_info_regs -> err_regs
* remove redundant info ptr
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 1ddef8d15d52..bde8f78551f9 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h | |||
@@ -449,7 +449,7 @@ enum amd64_chipset_families { | |||
449 | * | 449 | * |
450 | * Depends on entry into the modules | 450 | * Depends on entry into the modules |
451 | */ | 451 | */ |
452 | struct amd64_error_info_regs { | 452 | struct err_regs { |
453 | u32 nbcfg; | 453 | u32 nbcfg; |
454 | u32 nbsh; | 454 | u32 nbsh; |
455 | u32 nbsl; | 455 | u32 nbsl; |
@@ -527,7 +527,7 @@ struct amd64_pvt { | |||
527 | u32 online_spare; /* On-Line spare Reg */ | 527 | u32 online_spare; /* On-Line spare Reg */ |
528 | 528 | ||
529 | /* temp storage for when input is received from sysfs */ | 529 | /* temp storage for when input is received from sysfs */ |
530 | struct amd64_error_info_regs ctl_error_info; | 530 | struct err_regs ctl_error_info; |
531 | 531 | ||
532 | /* place to store error injection parameters prior to issue */ | 532 | /* place to store error injection parameters prior to issue */ |
533 | struct error_injection injection; | 533 | struct error_injection injection; |
@@ -586,11 +586,11 @@ struct low_ops { | |||
586 | int (*early_channel_count)(struct amd64_pvt *pvt); | 586 | int (*early_channel_count)(struct amd64_pvt *pvt); |
587 | 587 | ||
588 | u64 (*get_error_address)(struct mem_ctl_info *mci, | 588 | u64 (*get_error_address)(struct mem_ctl_info *mci, |
589 | struct amd64_error_info_regs *info); | 589 | struct err_regs *info); |
590 | void (*read_dram_base_limit)(struct amd64_pvt *pvt, int dram); | 590 | void (*read_dram_base_limit)(struct amd64_pvt *pvt, int dram); |
591 | void (*read_dram_ctl_register)(struct amd64_pvt *pvt); | 591 | void (*read_dram_ctl_register)(struct amd64_pvt *pvt); |
592 | void (*map_sysaddr_to_csrow)(struct mem_ctl_info *mci, | 592 | void (*map_sysaddr_to_csrow)(struct mem_ctl_info *mci, |
593 | struct amd64_error_info_regs *info, | 593 | struct err_regs *info, |
594 | u64 SystemAddr); | 594 | u64 SystemAddr); |
595 | int (*dbam_map_to_pages)(struct amd64_pvt *pvt, int dram_map); | 595 | int (*dbam_map_to_pages)(struct amd64_pvt *pvt, int dram_map); |
596 | }; | 596 | }; |
@@ -623,7 +623,7 @@ static inline struct low_ops *family_ops(int index) | |||
623 | #define F11_MIN_SCRUB_RATE_BITS 0x6 | 623 | #define F11_MIN_SCRUB_RATE_BITS 0x6 |
624 | 624 | ||
625 | int amd64_process_error_info(struct mem_ctl_info *mci, | 625 | int amd64_process_error_info(struct mem_ctl_info *mci, |
626 | struct amd64_error_info_regs *info, | 626 | struct err_regs *info, |
627 | int handle_errors); | 627 | int handle_errors); |
628 | int amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, | 628 | int amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, |
629 | u64 *hole_offset, u64 *hole_size); | 629 | u64 *hole_offset, u64 *hole_size); |