summaryrefslogtreecommitdiff
path: root/drivers/edac/Makefile
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-09-02 18:33:24 +0200
committerBorislav Petkov <bp@amd64.org>2010-10-21 14:47:59 +0200
commit9cdeb404a1870c5022915e576dbdc3cde21af5bf (patch)
tree19843bf914f56f362a7c9cdf86c27a648caa475c /drivers/edac/Makefile
parent30e1f7a8122145f44f45c95366e27b6bb0b08428 (diff)
EDAC, MCE: Rework MCE injection
Add sysfs injection facilities for testing of the MCE decoding code. Remove large parts of amd64_edac_dbg.c, as a result, which did only NB MCE injection anyway and the new injection code supports that functionality already. Add an injection module so that MCE decoding code in production kernels like those in RHEL and SLES can be tested. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/Makefile')
-rw-r--r--drivers/edac/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index ca6b1bb24ccc..5c38ad38f3a3 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -17,6 +17,8 @@ ifdef CONFIG_PCI
edac_core-objs += edac_pci.o edac_pci_sysfs.o
endif
+obj-$(CONFIG_EDAC_MCE_INJ) += mce_amd_inj.o
+
obj-$(CONFIG_EDAC_DECODE_MCE) += edac_mce_amd.o
obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o