Re: [patch] spinlocks: remove 'volatile'

From: Linus Torvalds
Date: Sun Jul 09 2006 - 11:26:19 EST




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
-
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/