diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2011-01-19 22:02:38 +0300 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-03-17 16:46:25 +0300 |
commit | 87b3e0e6e43b7e92575b79ed05ab86d221323642 (patch) | |
tree | 21dffcdbee0b720f96351ba7cc42cd985852276d /drivers/edac/amd64_edac.h | |
parent | cb293250c71fa85de3ef378d7383ddecf248c32d (diff) | |
download | linux-87b3e0e6e43b7e92575b79ed05ab86d221323642.tar.xz |
amd64_edac: Simplify scrubrate setting
Drop per-instance variable and compute min scrubrate dynamically.
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, 0 insertions, 10 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 8e431ab6a983..3f853ed684af 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -368,9 +368,6 @@ struct amd64_pvt { /* place to store error injection parameters prior to issue */ struct error_injection injection; - /* DCT per-family scrubrate setting */ - u32 min_scrubrate; - /* family name this instance is running on */ const char *ctl_name; @@ -468,12 +465,5 @@ int __amd64_write_pci_cfg_dword(struct pci_dev *pdev, int offset, #define amd64_read_dct_pci_cfg(pvt, offset, val) \ pvt->ops->read_dct_pci_cfg(pvt, offset, val, __func__) -/* - * For future CPU versions, verify the following as new 'slow' rates appear and - * modify the necessary skip values for the supported CPU. - */ -#define K8_MIN_SCRUB_RATE_BITS 0x0 -#define F10_MIN_SCRUB_RATE_BITS 0x5 - int amd64_get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, u64 *hole_offset, u64 *hole_size); |