>
> static __inline__ int __test_and_set_bit(int nr, volatile void * addr)
> {
> int oldbit;
>
> __asm__(
> "btsl %2,%1\n\tsbbl %0,%0"
> :"=r" (oldbit),"+m" (ADDR)
> :"dIr" (nr));
> return oldbit;
> }
>
> explodes with gcc-3.4.4.
Known issue. The new form is correct and needed, but the old gcc doesn't accept
it. I haven't gotten a form that is both and correct and works on the old compiler
out of the gcc hackers I asked.
Probably need to #ifdef it.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]