From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261487AbVAHUu6 (ORCPT ); Sat, 8 Jan 2005 15:50:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261490AbVAHUu6 (ORCPT ); Sat, 8 Jan 2005 15:50:58 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:26129 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261487AbVAHUuy (ORCPT ); Sat, 8 Jan 2005 15:50:54 -0500 Date: Sat, 8 Jan 2005 21:50:49 +0100 From: Adrian Bunk To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [-mm patch] always enable regparm on i386 Message-ID: <20050108205049.GR14108@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The patch below always enables regparm on i386 (with gcc >= 3.0). With this patch, it should get a better testing coverage in -mm. If this doesn't cause any problems, I plan to send a patch to completely remove the CONFIG_REGPARM option after 2.6.11 will be released. Signed-off-by: Adrian Bunk --- linux-2.6.10-mm2-full/arch/i386/Kconfig.old 2005-01-08 17:41:49.000000000 +0100 +++ linux-2.6.10-mm2-full/arch/i386/Kconfig 2005-01-08 17:42:10.000000000 +0100 @@ -877,9 +877,8 @@ default y config REGPARM - bool "Use register arguments (EXPERIMENTAL)" - depends on EXPERIMENTAL - default n + bool + default y help Compile the kernel with -mregparm=3. This uses an different ABI and passes the first three arguments of a function call in registers.