Re: MCE: convert static array of pointers to per-cpu variables

From: Srivatsa S. Bhat
Date: Fri Jan 27 2012 - 08:14:56 EST


On 01/27/2012 05:19 AM, Greg KH wrote:

> From: Greg Kroah-Hartman <gregkh@xxxxxxx>
>
> 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 <gregkh@xxxxxxx>
>


Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>

Regards,
Srivatsa S. Bhat

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/