Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964855AbVLUWls (ORCPT ); Wed, 21 Dec 2005 17:41:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964917AbVLUWls (ORCPT ); Wed, 21 Dec 2005 17:41:48 -0500 Received: from smtp.osdl.org ([65.172.181.4]:23207 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S964855AbVLUWlq (ORCPT ); Wed, 21 Dec 2005 17:41:46 -0500 Date: Wed, 21 Dec 2005 14:40:57 -0800 (PST) From: Linus Torvalds To: Ingo Molnar cc: 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 , Nicolas Pitre Subject: Re: [patch 3/8] mutex subsystem, add atomic_*_call_if_*() to i386 In-Reply-To: <20051221194740.GA18177@elte.hu> Message-ID: References: <20051221155442.GD7243@elte.hu> <20051221194740.GA18177@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 16 On Wed, 21 Dec 2005, Ingo Molnar wrote: > > hm, i thought gcc treats all explicitly used register in the asm as > clobbered - and i'm using %%eax explicitly for that reason. Nope, they are totally invisible to gcc afaik. It just sees "%%" and changes it into "%", and ignores the rest. Linus - 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/