]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85bbc0a52841b710d277874d1e05d3ad0108cddb
treefa78da74556c7b945814c52643aa64559c0b209a
parentda8b40fbda35258f17258f8749ba2d8b58a4b187
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