From: Thomas Renninger Date: Wed, 22 Jun 2011 08:40:06 +0000 (-0300) Subject: EDAC i7core: Use mce socketid for better compatibility X-Git-Tag: v3.2-rc1~79^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5034086b72e4e2d42f0db4b4ebb0fe0129ebdeae;p=pandora-kernel.git 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 CC: JBeulich@novell.com CC: linux-edac@vger.kernel.org CC: Mauro Carvalho Chehab --- Reading git-diff-tree failed