From: Greg Kroah-Hartman Date: Thu, 26 Jan 2012 23:49:14 +0000 (-0800) Subject: x86/mce: Convert static array of pointers to per-cpu variables X-Git-Tag: v3.4-rc1~150^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6126ef5f31ca54980cb067af659a360dfcca037;p=pandora-kernel.git x86/mce: Convert static array of pointers to per-cpu variables When I previously fixed up the mce_device code, I used a static array of the pointers. It was (rightfully) pointed out to me that I should be using the per_cpu code instead. This patch converts the code over to that structure, moving the variable back into the per_cpu area, like it used to be for 3.2 and earlier. Signed-off-by: Greg Kroah-Hartman Reviewed-by: Srivatsa S. Bhat Link: https://lkml.org/lkml/2012/1/27/165 Signed-off-by: Tony Luck --- Reading git-diff-tree failed