Re: [PATCH] get rid of "+m" constraint in i386 rwsems

From: Linus Torvalds
Date: Thu May 06 2004 - 09:44:37 EST




On Thu, 6 May 2004, David Howells wrote:
>
> Here's a patch to remove the usage of a "+m" constraint in the i386 optimised
> rwsem implementation.

I think this is wrong, and I thought the gcc people (well, rth seemed to
imply it was a no-brainer) already agreed to support "+m" since:

- it has long been documented
- it should be trivial to expand _internally_ in gcc if some
implementation thing makes gcc prefer the "=m" / "m" combination.

Richard?

If it's just a warning in 3.4, and later gcc's are supposed to make it ok
again, then..

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/