[Top] [All Lists]

Re: [PATCH] Improve atomic.h implementation robustness

To: Thiemo Seufer <>
Subject: Re: [PATCH] Improve atomic.h implementation robustness
From: Richard Sandiford <>
Date: Tue, 07 Dec 2004 19:28:35 +0000
Cc: "Maciej W. Rozycki" <>, Ralf Baechle <>, Dominic Sweetman <>,, Nigel Stephens <>, David Ung <>
In-reply-to: <> (Thiemo Seufer's message of "Tue, 7 Dec 2004 13:56:59 +0100")
Original-recipient: rfc822;
References: <> <> <> <> <> <>
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Thiemo Seufer <> writes:
> I tried to use "R" in atomic.h but this failed in some (but not all)
> cases with
> include/asm/atomic.h:64: error: inconsistent operand constraints in an asm'
> where the argument happens to be a member of a global struct.

Doh!  Do you have any testcases handy?  Was it failing with >= 3.4,
or with older toolchains?  3.4 and above should know that 'R' is a
memory-type constraint.


<Prev in Thread] Current Thread [Next in Thread>