aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.h
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2011-01-17 11:52:57 -0500
committerBorislav Petkov <borislav.petkov@amd.com>2011-03-17 09:46:23 -0400
commit5a5d237169152d4d7e4b6105eab15831829fb8e7 (patch)
tree2cfd8c926c05a70d302d792d9687ab55788c05e7 /drivers/edac/amd64_edac.h
parentb15f0fcab1ab85c773c9fa235c76e6ce90b7462e (diff)
amd64_edac: Sanitize ->read_dram_ctl_register
This function is relevant for F10h and higher, and it has only one callsite so drop its function pointer from the low_ops struct. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r--drivers/edac/amd64_edac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h
index 3c60b2f2aeb6..e14a8d0ad19f 100644
--- a/drivers/edac/amd64_edac.h
+++ b/drivers/edac/amd64_edac.h
@@ -236,7 +236,6 @@
236#define dct_ganging_enabled(pvt) ((boot_cpu_data.x86 == 0x10) && ((pvt)->dct_sel_lo & BIT(4))) 236#define dct_ganging_enabled(pvt) ((boot_cpu_data.x86 == 0x10) && ((pvt)->dct_sel_lo & BIT(4)))
237 237
238#define dct_data_intlv_enabled(pvt) ((pvt)->dct_sel_lo & BIT(5)) 238#define dct_data_intlv_enabled(pvt) ((pvt)->dct_sel_lo & BIT(5))
239#define dct_dram_enabled(pvt) ((pvt)->dct_sel_lo & BIT(8))
240#define dct_memory_cleared(pvt) ((pvt)->dct_sel_lo & BIT(10)) 239#define dct_memory_cleared(pvt) ((pvt)->dct_sel_lo & BIT(10))
241 240
242#define SWAP_INTLV_REG 0x10c 241#define SWAP_INTLV_REG 0x10c
@@ -444,7 +443,6 @@ extern struct mcidev_sysfs_attribute amd64_dbg_attrs[NUM_DBG_ATTRS],
444 */ 443 */
445struct low_ops { 444struct low_ops {
446 int (*early_channel_count) (struct amd64_pvt *pvt); 445 int (*early_channel_count) (struct amd64_pvt *pvt);
447 void (*read_dram_ctl_register) (struct amd64_pvt *pvt);
448 void (*map_sysaddr_to_csrow) (struct mem_ctl_info *mci, u64 sys_addr, 446 void (*map_sysaddr_to_csrow) (struct mem_ctl_info *mci, u64 sys_addr,
449 u16 syndrome); 447 u16 syndrome);
450 int (*dbam_to_cs) (struct amd64_pvt *pvt, int cs_mode); 448 int (*dbam_to_cs) (struct amd64_pvt *pvt, int cs_mode);