Richard Sandiford wrote: > Thiemo Seufer <ica2_ts@xxxxxxxxxxxxxxxxxxxxxxxx> 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? So far only the whole kernel, which isn't exactly handy. > Was it failing with >= 3.4, > or with older toolchains? 3.4 and above should know that 'R' is a > memory-type constraint. I saw the same failure for 3.3 and 3.4, I haven't tried 4.0. Thiemo