Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261756AbVBICit (ORCPT ); Tue, 8 Feb 2005 21:38:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261762AbVBICis (ORCPT ); Tue, 8 Feb 2005 21:38:48 -0500 Received: from are.twiddle.net ([64.81.246.98]:61057 "EHLO are.twiddle.net") by vger.kernel.org with ESMTP id S261756AbVBICgv (ORCPT ); Tue, 8 Feb 2005 21:36:51 -0500 Date: Tue, 8 Feb 2005 18:36:37 -0800 From: Richard Henderson To: Linus Torvalds Cc: Ingo Molnar , Kernel Mailing List , Manfred Spraul Subject: Re: out-of-line x86 "put_user()" implementation Message-ID: <20050209023637.GB13911@twiddle.net> Mail-Followup-To: Linus Torvalds , Ingo Molnar , Kernel Mailing List , Manfred Spraul References: <20050207114415.GA22948@elte.hu> <20050209012741.GB13802@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 18 On Tue, Feb 08, 2005 at 06:16:15PM -0800, Linus Torvalds wrote: > I'd happily use your version, but I thought that some versions of gcc > require that input output registers cannot overlap, and would refuse to do > that thing? But if you tell me differently.. No, you're thinking of asm("" : "=a" (x) : : "eax") where the clobber overlaps the inputs or outputs. r~ - 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/