Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751190AbVLUUyq (ORCPT ); Wed, 21 Dec 2005 15:54:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751193AbVLUUyq (ORCPT ); Wed, 21 Dec 2005 15:54:46 -0500 Received: from relais.videotron.ca ([24.201.245.36]:25320 "EHLO relais.videotron.ca") by vger.kernel.org with ESMTP id S1751190AbVLUUyp (ORCPT ); Wed, 21 Dec 2005 15:54:45 -0500 Date: Wed, 21 Dec 2005 15:54:13 -0500 (EST) From: Nicolas Pitre Subject: Re: [patch 3/8] mutex subsystem, add atomic_*_call_if_*() to i386 In-reply-to: <20051221203243.GA19082@nevyn.them.org> X-X-Sender: nico@localhost.localdomain To: Daniel Jacobowitz Cc: Linus Torvalds , Ingo Molnar , lkml , Andrew Morton , Arjan van de Ven , Jes Sorensen , Zwane Mwaikambo , Oleg Nesterov , David Howells , Alan Cox , Benjamin LaHaise , Steven Rostedt , Christoph Hellwig , Andi Kleen , Russell King Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20051221155442.GD7243@elte.hu> <20051221203243.GA19082@nevyn.them.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 20 On Wed, 21 Dec 2005, Daniel Jacobowitz wrote: > This new macro is only going to be used in x86-specific files, right? > There's no practical way to implement this on lots of other > architectures. The default implementation does the call in C. > Embedding a call in asm("") can break other things too - for instance, > unwind tables could become inaccurate. I doubt unwind tables are used at all for the kernel, are they? Nicolas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/