diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2009-06-25 13:32:38 -0400 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-09-14 12:57:48 -0400 |
commit | b70ef01016850de87b9a28a6af19fed8801df076 (patch) | |
tree | 78159c6e177c5557f2cc9342f8bc0833645d8da5 /drivers/edac/Makefile | |
parent | 74fca6a42863ffacaf7ba6f1936a9f228950f657 (diff) |
EDAC: move MCE error descriptions to EDAC core
This is in preparation of adding AMD-specific MCE decoding functionality
to the EDAC core. The error decoding macros originate from the AMD64
EDAC driver albeit in a simplified and cleaned up version here.
While at it, add macros to generate the error description strings and
use them in the error type decoders directly which removes a bunch of
code and makes the decoding functions much more readable. Also, fix
strings and shorten macro names.
Remove superfluous htlink_msgs.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/Makefile')
-rw-r--r-- | drivers/edac/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile index 98aa4a7db412..cfa033ce53a7 100644 --- a/drivers/edac/Makefile +++ b/drivers/edac/Makefile | |||
@@ -17,6 +17,10 @@ ifdef CONFIG_PCI | |||
17 | edac_core-objs += edac_pci.o edac_pci_sysfs.o | 17 | edac_core-objs += edac_pci.o edac_pci_sysfs.o |
18 | endif | 18 | endif |
19 | 19 | ||
20 | ifdef CONFIG_CPU_SUP_AMD | ||
21 | edac_core-objs += edac_mce_amd.o | ||
22 | endif | ||
23 | |||
20 | obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o | 24 | obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o |
21 | obj-$(CONFIG_EDAC_CPC925) += cpc925_edac.o | 25 | obj-$(CONFIG_EDAC_CPC925) += cpc925_edac.o |
22 | obj-$(CONFIG_EDAC_I5000) += i5000_edac.o | 26 | obj-$(CONFIG_EDAC_I5000) += i5000_edac.o |
@@ -32,7 +36,7 @@ obj-$(CONFIG_EDAC_X38) += x38_edac.o | |||
32 | obj-$(CONFIG_EDAC_I82860) += i82860_edac.o | 36 | obj-$(CONFIG_EDAC_I82860) += i82860_edac.o |
33 | obj-$(CONFIG_EDAC_R82600) += r82600_edac.o | 37 | obj-$(CONFIG_EDAC_R82600) += r82600_edac.o |
34 | 38 | ||
35 | amd64_edac_mod-y := amd64_edac_err_types.o amd64_edac.o | 39 | amd64_edac_mod-y := amd64_edac.o |
36 | amd64_edac_mod-$(CONFIG_EDAC_DEBUG) += amd64_edac_dbg.o | 40 | amd64_edac_mod-$(CONFIG_EDAC_DEBUG) += amd64_edac_dbg.o |
37 | amd64_edac_mod-$(CONFIG_EDAC_AMD64_ERROR_INJECTION) += amd64_edac_inj.o | 41 | amd64_edac_mod-$(CONFIG_EDAC_AMD64_ERROR_INJECTION) += amd64_edac_inj.o |
38 | 42 | ||