From f192c7b16c98839c1945733f1013f75daec5f380 Mon Sep 17 00:00:00 2001 From: Borislav Petkov Date: Mon, 10 Jan 2011 14:24:32 +0100 Subject: amd64_edac: Simplify decoding path Use the struct mce directly instead of copying from it into a custom struct err_regs. No functionality change. Signed-off-by: Borislav Petkov --- drivers/edac/mce_amd.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'drivers/edac/mce_amd.h') diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h index 70a0bb2c13c5..795a3206acf5 100644 --- a/drivers/edac/mce_amd.h +++ b/drivers/edac/mce_amd.h @@ -34,7 +34,6 @@ /* * F3x4C bits (MCi_STATUS' high half) */ -#define NBSH_VALID_ERROR_ADDR BIT(26) #define NBSH_ERR_CPU_VAL BIT(24) enum tt_ids { @@ -77,17 +76,6 @@ extern const char *pp_msgs[]; extern const char *to_msgs[]; extern const char *ii_msgs[]; -/* - * relevant NB regs - */ -struct err_regs { - u32 nbcfg; - u32 nbsh; - u32 nbsl; - u32 nbeah; - u32 nbeal; -}; - /* * per-family decoder ops */ -- cgit v1.2.3-59-g8ed1b