mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
b70ef01016
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>
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
#
|
|
# Makefile for the Linux kernel EDAC drivers.
|
|
#
|
|
# Copyright 02 Jul 2003, Linux Networx (http://lnxi.com)
|
|
# This file may be distributed under the terms of the
|
|
# GNU General Public License.
|
|
#
|
|
|
|
|
|
obj-$(CONFIG_EDAC) := edac_stub.o
|
|
obj-$(CONFIG_EDAC_MM_EDAC) += edac_core.o
|
|
|
|
edac_core-objs := edac_mc.o edac_device.o edac_mc_sysfs.o edac_pci_sysfs.o
|
|
edac_core-objs += edac_module.o edac_device_sysfs.o
|
|
|
|
ifdef CONFIG_PCI
|
|
edac_core-objs += edac_pci.o edac_pci_sysfs.o
|
|
endif
|
|
|
|
ifdef CONFIG_CPU_SUP_AMD
|
|
edac_core-objs += edac_mce_amd.o
|
|
endif
|
|
|
|
obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o
|
|
obj-$(CONFIG_EDAC_CPC925) += cpc925_edac.o
|
|
obj-$(CONFIG_EDAC_I5000) += i5000_edac.o
|
|
obj-$(CONFIG_EDAC_I5100) += i5100_edac.o
|
|
obj-$(CONFIG_EDAC_I5400) += i5400_edac.o
|
|
obj-$(CONFIG_EDAC_E7XXX) += e7xxx_edac.o
|
|
obj-$(CONFIG_EDAC_E752X) += e752x_edac.o
|
|
obj-$(CONFIG_EDAC_I82443BXGX) += i82443bxgx_edac.o
|
|
obj-$(CONFIG_EDAC_I82875P) += i82875p_edac.o
|
|
obj-$(CONFIG_EDAC_I82975X) += i82975x_edac.o
|
|
obj-$(CONFIG_EDAC_I3000) += i3000_edac.o
|
|
obj-$(CONFIG_EDAC_X38) += x38_edac.o
|
|
obj-$(CONFIG_EDAC_I82860) += i82860_edac.o
|
|
obj-$(CONFIG_EDAC_R82600) += r82600_edac.o
|
|
|
|
amd64_edac_mod-y := amd64_edac.o
|
|
amd64_edac_mod-$(CONFIG_EDAC_DEBUG) += amd64_edac_dbg.o
|
|
amd64_edac_mod-$(CONFIG_EDAC_AMD64_ERROR_INJECTION) += amd64_edac_inj.o
|
|
|
|
obj-$(CONFIG_EDAC_AMD64) += amd64_edac_mod.o
|
|
|
|
obj-$(CONFIG_EDAC_PASEMI) += pasemi_edac.o
|
|
obj-$(CONFIG_EDAC_MPC85XX) += mpc85xx_edac.o
|
|
obj-$(CONFIG_EDAC_MV64X60) += mv64x60_edac.o
|
|
obj-$(CONFIG_EDAC_CELL) += cell_edac.o
|
|
obj-$(CONFIG_EDAC_PPC4XX) += ppc4xx_edac.o
|
|
obj-$(CONFIG_EDAC_AMD8111) += amd8111_edac.o
|
|
obj-$(CONFIG_EDAC_AMD8131) += amd8131_edac.o
|