Re: [PATCH 20/48] time: Replace __get_cpu_var uses

From: Thomas Gleixner
Date: Sat Feb 15 2014 - 06:33:43 EST


On Fri, 14 Feb 2014, Christoph Lameter wrote:

> [Patch depends on another patch in this series that introduces raw_cpu_ops]
>
> Convert uses of __get_cpu_var for creating a address from a percpu
> offset to this_cpu_ptr.
>
> The two cases where get_cpu_var is used to actually access a percpu
> variable are changed to use this_cpu_read/raw_cpu_read.
>
> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
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/