diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-05-27 23:56:54 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-04 01:40:39 +0400 |
commit | 817f32d02a52dd7f5941534e0699883691e918df (patch) | |
tree | ebca6e71edd283b9c13dde01d1861368a7e2fdcf /arch/x86/kernel/cpu/mcheck/Makefile | |
parent | a0189c70e5f17f4253dd7bc575c97469900e23d6 (diff) | |
download | linux-817f32d02a52dd7f5941534e0699883691e918df.tar.xz |
x86, mce: add table driven machine check grading
The machine check grading (as in deciding what should be done for a given
register value) has to be done multiple times soon and it's also getting
more complicated.
So it makes sense to consolidate it into a single function. To get smaller
and more straight forward and possibly more extensible code I opted towards
a new table driven method. The various rules are put into a table
when is then executed by a very simple interpreter.
The grading engine is in a new file mce-severity.c. I also added a private
include file mce-internal.h, because mce.h is already a bit too cluttered.
This is dead code right now, but will be used in followon patches.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/Makefile')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/Makefile b/arch/x86/kernel/cpu/mcheck/Makefile index 60ee182c6c52..45004faf67ea 100644 --- a/arch/x86/kernel/cpu/mcheck/Makefile +++ b/arch/x86/kernel/cpu/mcheck/Makefile @@ -1,5 +1,6 @@ obj-y = mce.o therm_throt.o +obj-$(CONFIG_X86_NEW_MCE) += mce-severity.o obj-$(CONFIG_X86_OLD_MCE) += k7.o p4.o p6.o obj-$(CONFIG_X86_ANCIENT_MCE) += winchip.o p5.o obj-$(CONFIG_X86_MCE_P4THERMAL) += mce_intel.o |