]> git.baikalelectronics.ru Git - kernel.git/commit
x86, NMI: Add NMI symbol constants and rename memory parity to PCI SERR
authorHuang Ying <ying.huang@intel.com>
Thu, 6 Jan 2011 21:18:47 +0000 (16:18 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:08:51 +0000 (15:08 +0100)
commit9db8d09d2d117437a3e2cc92fcdcf042f3b6c636
tree647c236abdeb4bd57d170ed8a54e64d58f18a5ec
parent15ec0188207e6d6fa1ebee1e218d93951302e100
x86, NMI: Add NMI symbol constants and rename memory parity to PCI SERR

Replace the NMI related magic numbers with symbol constants.

Memory parity error is only valid for IBM PC-AT, newer machine use
bit 7 (0x80) of 0x61 port for PCI SERR. While memory error is usually
reported via MCE. So corresponding function name and kernel log string
is changed.

But on some machines, PCI SERR line is still used to report memory
errors. This is used by EDAC, so corresponding EDAC call is reserved.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1294348732-15030-2-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/mach_traps.h
arch/x86/kernel/traps.c