Re: [PATCH 5/5] lib.c: Add __sync_lock_test_and_set as a builtin function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christopher Li wrote:
> On Tue, May 21, 2013 at 12:19 PM, Ramsay Jones
> <ramsay@xxxxxxxxxxxxxxxxxxx> wrote:
>> +       add_pre_buffer("extern int __sync_lock_test_and_set(volatile long *const, const long);\n");
> 
> Looking at the gcc documents about atomic builtins.  quote:
> "and further that they are overloaded such that they work on multiple types"
> 

Ah, yes, I obviously didn't investigate this carefully enough! :(
OK, so we can forget about this patch.

Thanks!

ATB,
Ramsay Jones



--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux