aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2009-05-27 15:56:56 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-06-03 17:40:38 -0400
commitd620c67fb92aa11736112f9a03e31d8e3079c57a (patch)
treead624a23926c1cadaa577b36f8eb57f4de055bc0 /arch/x86/include/asm/mce.h
parentf6fb0ac0869500323c78fa21992fe1933af61e91 (diff)
x86, mce: support more than 256 CPUs in struct mce
The old struct mce had a limitation to 256 CPUs. But x86 Linux supports more than that now with x2apic. Add a new field extcpu to report the extended number. 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/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index 0a61946d4396..b4a04b60b740 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -40,9 +40,9 @@ struct mce {
40 __u64 res2; /* dito. */ 40 __u64 res2; /* dito. */
41 __u8 cs; /* code segment */ 41 __u8 cs; /* code segment */
42 __u8 bank; /* machine check bank */ 42 __u8 bank; /* machine check bank */
43 __u8 cpu; /* cpu that raised the error */ 43 __u8 cpu; /* cpu number; obsolete; use extcpu now */
44 __u8 finished; /* entry is valid */ 44 __u8 finished; /* entry is valid */
45 __u32 pad; 45 __u32 extcpu; /* linux cpu number that detected the error */
46}; 46};
47 47
48/* 48/*