diff options
author | Thomas Renninger | 2011-06-22 10:40:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2011-10-31 18:10:05 +0100 |
commit | 5034086b72e4e2d42f0db4b4ebb0fe0129ebdeae (patch) | |
tree | 9d57dd59fa835d332b165b7b714270ba40d8ad7a /arch | |
parent | i7core_edac: Don't enable memory scrubbing for Xeon 35xx (diff) | |
download | kernel-qcow2-linux-5034086b72e4e2d42f0db4b4ebb0fe0129ebdeae.tar.gz kernel-qcow2-linux-5034086b72e4e2d42f0db4b4ebb0fe0129ebdeae.tar.xz kernel-qcow2-linux-5034086b72e4e2d42f0db4b4ebb0fe0129ebdeae.zip |
EDAC i7core: Use mce socketid for better compatibility
mce->socketid and cpu_data(mce->cpu).phys_proc_id are the same,
compare with mce_setup (in mce.c):
m->cpu = m->extcpu = smp_processor_id();
...
m->socketid = cpu_data(m->extcpu).phys_proc_id;
This makes it easier for example for XEN patches to hook into
the MCE subsystem.
Compile tested on x86_64.
Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: JBeulich@novell.com
CC: linux-edac@vger.kernel.org
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions