x86: EDAC: carve out AMD MCE decoding logic
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 2 Oct 2009 13:31:48 +0000 (15:31 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Oct 2009 13:42:19 +0000 (15:42 +0200)
commit0d18b2e34bd1ad8f5bd3f3a17b5e7df132e511a9
treeec8968797976e386245fb383a5cee800b6b75140
parent329bd4119c8a0afea95f9db6d6b402a2f2b40e84
x86: EDAC: carve out AMD MCE decoding logic

This converts the MCE decoding logic into a standalone config
option which can be built-in or a module, the first one being the
default for MCEs happening early on in the boot process.

This, beyond being separated in a cleaner way, also saves RAM by
making the decoding logic modular.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andi Kleen <andi@firstfloor.org>
LKML-Reference: <20091002133148.GD28682@aftab>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/edac/Kconfig
drivers/edac/Makefile
drivers/edac/edac_mce_amd.c