From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ramsay Jones Subject: Re: [PATCH 5/5] lib.c: Add __sync_lock_test_and_set as a builtin function Date: Sat, 25 May 2013 20:40:09 +0100 Message-ID: <51A11399.3090709@ramsay1.demon.co.uk> References: <519BC8AF.8060804@ramsay1.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mdfmta004.mxout.tch.inty.net ([91.221.169.45]:39449 "EHLO smtp.demon.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757816Ab3EYUFA (ORCPT ); Sat, 25 May 2013 16:05:00 -0400 In-Reply-To: Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Christopher Li Cc: Sparse Mailing-list Christopher Li wrote: > On Tue, May 21, 2013 at 12:19 PM, Ramsay Jones > 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