Re: [patch] spinlocks: remove 'volatile'

Linus Torvalds
2006-07-09T15:28:04Z

On Sun, 9 Jul 2006, Roman Zippel wrote:
>
> On Sat, 8 Jul 2006, Linus Torvalds wrote:
> >
> > but we've been using that "+m" format for a long time already (and I
> > _think_ we did so at the suggestion of gcc people), and it would be much
> > better if the gcc documentation was just fixed here.
>
> IIRC early 4.0 had problems with "+m" and did what the documentation says,
> but that got quickly fixed.
> Here is the old thread http://marc.theaimsgroup.com/?t=108384517900001&r=1&w=2

Thanks. That one implies that we had some strange warnings (but it
apparently still worked) with 3.4, and it's since gotten fixed. Goodie.

I'll leave the "+m" alone then, both the old and the new ones.

Linus