[-mm patch] always enable regparm on i386

From: Adrian Bunk
Date: Sat Jan 08 2005 - 15:52:21 EST


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 <bunk@xxxxxxxxx>

--- 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.

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