Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbaB1H2u (ORCPT ); Fri, 28 Feb 2014 02:28:50 -0500 Received: from www84.your-server.de ([213.133.104.84]:40694 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbaB1H2t (ORCPT ); Fri, 28 Feb 2014 02:28:49 -0500 Message-ID: <1393572505.1019.10.camel@wall-e.seibold.net> Subject: Re: [PATCH v2 1/4] x86: Use the default ABI for the 32-bit vDSO From: Stefani Seibold To: Andy Lutomirski Cc: X86 ML , "H. Peter Anvin" , Greg KH , "linux-kernel@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , Andi Kleen , Andrea Arcangeli , John Stultz , Pavel Emelyanov , Cyrill Gorcunov , andriy.shevchenko@linux.intel.com, Martin.Runge@rohde-schwarz.com, Andreas.Brief@rohde-schwarz.com Date: Fri, 28 Feb 2014 08:28:25 +0100 In-Reply-To: <2f5d45b67dcd2c4ba58ed7ff13cfcd7a4da977fa.1393545985.git.luto@amacapital.net> References: <2f5d45b67dcd2c4ba58ed7ff13cfcd7a4da977fa.1393545985.git.luto@amacapital.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: stefani@seibold.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, den 27.02.2014, 16:18 -0800 schrieb Andy Lutomirski: > There's no reason for the vDSO to use a special function call ABI. Use > the platform defaults. > The only reason was performance. What is good for the kernel should be also good for the VDSO. Now all functions inside the VDSO will pass the arguments by stack. > Signed-off-by: Andy Lutomirski > --- > arch/x86/vdso/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile > index 92daaa6..80584f5 100644 > --- a/arch/x86/vdso/Makefile > +++ b/arch/x86/vdso/Makefile > @@ -149,7 +149,7 @@ KBUILD_CFLAGS_32 := $(filter-out -m64,$(KBUILD_CFLAGS)) > KBUILD_CFLAGS_32 := $(filter-out -mcmodel=kernel,$(KBUILD_CFLAGS_32)) > KBUILD_CFLAGS_32 := $(filter-out -fno-pic,$(KBUILD_CFLAGS_32)) > KBUILD_CFLAGS_32 := $(filter-out -mfentry,$(KBUILD_CFLAGS_32)) > -KBUILD_CFLAGS_32 += -m32 -msoft-float -mregparm=3 -freg-struct-return -fpic > +KBUILD_CFLAGS_32 += -m32 -msoft-float -mregparm=0 -fpic > $(vdso32-images:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) > > $(vdso32-images:%=$(obj)/%.dbg): $(obj)/vdso32-%.so.dbg: FORCE \ -- 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/