From mboxrd@z Thu Jan 1 00:00:00 1970 From: Umut Aymakoglu Date: Fri, 20 Jun 2003 23:00:45 +0000 Subject: atomic.h vs spinlock.h Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Hi - 2 questions actually: 1) what is the difference between the macros defined in asm/atomic.h and asm/spinlock.h. (usage and purpose wise)? 2) If I need to use asm/atomic.h, which macro can I use to test-and-set? thanks, Umut