linux/drivers/edac
Ingo Molnar b9183f9b99 amd64_edac: build driver only on AMD hardware
-tip testing found the following build failure (config attached):

drivers/built-in.o: In function `amd64_check':
amd64_edac.c:(.text+0x3e9491): undefined reference to `amd_decode_nb_mce'
drivers/built-in.o: In function `amd64_init_2nd_stage':
amd64_edac.c:(.text+0x3e9b46): undefined reference to `amd_report_gart_errors'
amd64_edac.c:(.text+0x3e9b55): undefined reference to `amd_register_ecc_decoder'
drivers/built-in.o: In function `amd64_nbea_store':
amd64_edac_dbg.c:(.text+0x3ea22e): undefined reference to `amd_decode_nb_mce'
drivers/built-in.o: In function `amd64_remove_one_instance':
amd64_edac.c:(.devexit.text+0x3eea): undefined reference to `amd_report_gart_errors'
amd64_edac.c:(.devexit.text+0x3ef6): undefined reference to `amd_unregister_ecc_decoder'

the AMD EDAC code has a dependency on CONFIG_CPU_SUP_AMD facilities. The
patch below solves the problem here.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
2009-09-16 11:31:57 +02:00
..
amd64_edac_dbg.c x86, mce: pass mce info to EDAC for decoding 2009-09-14 18:59:17 +02:00
amd64_edac_inj.c amd64_edac: add DRAM error injection logic using sysfs 2009-06-10 12:18:47 +02:00
amd64_edac.c EDAC, AMD: carve out decoding of MCi_STATUS ErrorCode 2009-09-14 19:01:20 +02:00
amd64_edac.h x86, mce: pass mce info to EDAC for decoding 2009-09-14 18:59:17 +02:00
amd76x_edac.c
amd8111_edac.c edac: add edac_device_alloc_index() 2009-06-18 13:03:56 -07:00
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c edac: add missing __devexit_p() 2009-06-18 13:03:57 -07:00
cpc925_edac.c edac: add CPC925 Memory Controller driver 2009-06-18 13:03:56 -07:00
e7xxx_edac.c
e752x_edac.c trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
edac_core.h edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
edac_device_sysfs.c
edac_device.c edac: add edac_device_alloc_index() 2009-06-18 13:03:56 -07:00
edac_mc_sysfs.c edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
edac_mc.c
edac_mce_amd.c EDAC, AMD: decode FR MCEs 2009-09-14 19:01:37 +02:00
edac_mce_amd.h EDAC, AMD: carve out MCi_STATUS decoding 2009-09-14 19:01:07 +02:00
edac_module.c
edac_module.h
edac_pci_sysfs.c
edac_pci.c
edac_stub.c
i3000_edac.c
i5000_edac.c
i5100_edac.c
i5400_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
Kconfig amd64_edac: build driver only on AMD hardware 2009-09-16 11:31:57 +02:00
Makefile EDAC: move MCE error descriptions to EDAC core 2009-09-14 18:57:48 +02:00
mpc85xx_edac.c edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
mpc85xx_edac.h edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
mv64x60_edac.c
mv64x60_edac.h
pasemi_edac.c
ppc4xx_edac.c
ppc4xx_edac.h
r82600_edac.c
x38_edac.c edac: x38 fix mchbar high register addr 2009-07-29 19:10:34 -07:00