Re: [PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-26 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 24, 2014 at 11:31:07AM +0900, Namhyung Kim escreveu: > Hi Pranith, > > On Tue, 23 Sep 2014 10:55:08 -0400, Pranith Kumar wrote: > > Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a > > style > > change which is reader friendly. > > > > Signed-off-by: Pranith

Re: [PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-26 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 24, 2014 at 11:31:07AM +0900, Namhyung Kim escreveu: Hi Pranith, On Tue, 23 Sep 2014 10:55:08 -0400, Pranith Kumar wrote: Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a style change which is reader friendly. Signed-off-by: Pranith Kumar

Re: [PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-23 Thread Namhyung Kim
Hi Pranith, On Tue, 23 Sep 2014 10:55:08 -0400, Pranith Kumar wrote: > Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a > style > change which is reader friendly. > > Signed-off-by: Pranith Kumar Acked-by: Namhyung Kim Thanks, Namhyung > --- >

[PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-23 Thread Pranith Kumar
Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a style change which is reader friendly. Signed-off-by: Pranith Kumar --- tools/perf/util/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h

[PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-23 Thread Pranith Kumar
Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a style change which is reader friendly. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com --- tools/perf/util/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/session.h

Re: [PATCH] perf: Use ACCESS_ONCE() instead of volatile cast

2014-09-23 Thread Namhyung Kim
Hi Pranith, On Tue, 23 Sep 2014 10:55:08 -0400, Pranith Kumar wrote: Use ACCESS_ONCE() instead of the cast to volatile and read. This is just a style change which is reader friendly. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com Acked-by: Namhyung Kim namhy...@kernel.org Thanks,