Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756661AbYAIVVQ (ORCPT ); Wed, 9 Jan 2008 16:21:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754435AbYAIVVB (ORCPT ); Wed, 9 Jan 2008 16:21:01 -0500 Received: from fxip-0047f.externet.hu ([88.209.222.127]:35503 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754336AbYAIVVA (ORCPT ); Wed, 9 Jan 2008 16:21:00 -0500 To: andi@firstfloor.org, harvey.harrison@gmail.com CC: jdike@addtoit.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net In-reply-to: (message from Andi Kleen on Wed, 09 Jan 2008 22:12:43 +0100) Subject: Re: uml and -regparm=3 References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: From: Miklos Szeredi Date: Wed, 09 Jan 2008 22:20:49 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 29 > Miklos Szeredi writes: > > > FASTCALL is defined empty in -mm, but UML is not compiled with > > -mregparm=3 and so this breaks things (I noticed problems with > > rwsem_down_write_failed). > > > > Tried recompiling UML with -mregparm=3, but that resulted in a strange > > failure immediately after startup: > > > > |%G�%@: Invalid argument > > > > What's up? > > UML links with glibc and that does not use -mregparm. > > You can only use -mregparm in user space if you recompile > all libraries too. Ah, right. I didn't think of that. Does that mean that FASTCALL removals will have to be undone? Or is there an alternative? Miklos -- 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/