[PATCH] ARM: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
Will Deacon
will.deacon at arm.com
Wed Jun 5 05:59:53 EDT 2013
On Tue, Jun 04, 2013 at 06:39:42PM +0100, Nicolas Pitre wrote:
> On Tue, 4 Jun 2013, Will Deacon wrote:
> > I spoke to the tools guys and they'll look into why the original patch
> > didn't work, since that could have wider implications on our use of
> > barrier().
>
> Good. However, given the wide range of gcc versions exhibiting the same
> behavior, I think your patch is the best way forward even if gcc were to
> be broken and eventually fixed.
>
> Reviewed-by: Nicolas Pitre <nico at linaro.org>
Thanks Nicolas.
> I'd suggest queuing it for stable as well.
Will do.
Will
More information about the linux-arm-kernel
mailing list