always enable regparm on i386
PATCH 1/1 always enable regparm on i386
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]>
arch/i386/Kconfig renamed from arch/i386/Kconfig.old +2 -3
@@ -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.
Quoted 2 lines · Adrian Bunk
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.