Re: [PATCH] cmpxchg: Discard unnecessary cast to volatile

From: Peter Zijlstra
Date: Tue Oct 21 2014 - 06:14:22 EST


On Mon, Oct 20, 2014 at 04:22:27PM -0400, Pranith Kumar wrote:
> > Generating a volatile pointer is really not necessary here. This is the only
> > location where a volatile pointer is being generated for use in asm.
> >
> > This commit removes the unnecessary volatile pointer being created.
> >
> > Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx>

Seems sane enough to me.
--
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/