lkml.org 
[lkml]   [2010]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2]: atomic_t: Remove volatile from atomic_t definition


On Mon, 17 May 2010, Anton Blanchard wrote:
>
> It turns out this bad code is a result of us defining atomic_t as a
> volatile int.

Heh. Ok, as you point out in the commit message, I obviously agree with
this patch. "volatile" on data is evil, with the possible exception of
"jiffies" type things.

So applied.

Linus


\
 
 \ /
  Last update: 2010-05-17 17:07    [W:0.118 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site