Re: [-mm patch] always enable regparm on i386

2005-03-28 Thread Andrew Morton
Adrian Bunk <[EMAIL PROTECTED]> wrote:
>
>  The patch below always enables regparm on i386 (with gcc >= 3.0).

I'd prefer to keep the config option so that people can diagnose compiler
and kernel bugs by disabling it.  This has proved useful in the past.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[-mm patch] always enable regparm on i386

2005-03-27 Thread Adrian Bunk
The patch below always enables regparm on i386 (with gcc >= 3.0).

With this patch, it should get a better testing coverage in -mm.

This patch should help to find bugs that show up with regparm enabled.


Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

--- linux-2.6.10-mm2-full/arch/i386/Kconfig.old 2005-01-08 17:41:49.0 
+0100
+++ linux-2.6.10-mm2-full/arch/i386/Kconfig 2005-01-08 17:42:10.0 
+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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/