x86, mce: support more than 256 CPUs in struct mce
authorAndi Kleen <andi@firstfloor.org>
Wed, 27 May 2009 19:56:56 +0000 (21:56 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 3 Jun 2009 21:40:38 +0000 (14:40 -0700)
commitd620c67fb92aa11736112f9a03e31d8e3079c57a
treead624a23926c1cadaa577b36f8eb57f4de055bc0
parentf6fb0ac0869500323c78fa21992fe1933af61e91
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>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce-inject.c
arch/x86/kernel/cpu/mcheck/mce.c