i7core: Use registered memories per processor
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Sep 2009 02:52:36 +0000 (23:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:57 +0000 (11:44 -0300)
commit14d2c08343eecd13f6c6ec232c98b16762b97924
treefa78da74556c7b945814c52643aa64559c0b209a
parentb4e8f0b6eaa1e99f1a64e539466a8ee2fb521d62
i7core: Use registered memories per processor

Instead of assuming that the entire machine has either registered or
unregistered memories, do it at CPU socket based.

While here, fix a bug at i7core_mce_output_error(), where the we're
using m->cpu directly as if it would represent a socket. Instead, the
proper socket_id is given by cpu_data[m->cpu].phys_proc_id.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
drivers/edac/i7core_edac.c