Re: [Xen-devel] [PATCH] xen/time: Fix incorrect per_cpu accessor in xen_clocksource_read()

From: David Vrabel
Date: Fri Oct 17 2014 - 08:45:53 EST


On 16/10/14 22:02, Boris Ostrovsky wrote:
> Commit 89cbc76768c2 ("x86: Replace __get_cpu_var uses") replaced
> __get_cpu_var() with this_cpu_ptr() in xen_clocksource_read() in such a
> way that instead of accessing a structure pointed to by a per-cpu pointer
> we are trying to get to a per-cpu structure.
>
> __this_cpu_read() of the pointer is the more appropriate accessor.

Applied, thanks.

David
--
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/