aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-07 02:14:12 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:12 +0100
commita1a70c25bed75ed36ed48bbe18b9029428d2452d (patch)
tree0ab9fcebc25f9f71be61f91bfca96aa1e0585a0d /include/asm-i386
parent73ad8355d7db6a3cdcf313d4a4586a8f81b19c2f (diff)
downloadkernel_goldelico_gta04-a1a70c25bed75ed36ed48bbe18b9029428d2452d.zip
kernel_goldelico_gta04-a1a70c25bed75ed36ed48bbe18b9029428d2452d.tar.gz
kernel_goldelico_gta04-a1a70c25bed75ed36ed48bbe18b9029428d2452d.tar.bz2
[PATCH] i386: always enable regparm
-mregparm=3 has been enabled by default for some time on i386, and AFAIK there aren't any problems with it left. This patch removes the REGPARM config option and sets -mregparm=3 unconditionally. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/module.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-i386/module.h b/include/asm-i386/module.h
index fe5ae42..02f8f54 100644
--- a/include/asm-i386/module.h
+++ b/include/asm-i386/module.h
@@ -62,18 +62,12 @@ struct mod_arch_specific
#error unknown processor family
#endif
-#ifdef CONFIG_REGPARM
-#define MODULE_REGPARM "REGPARM "
-#else
-#define MODULE_REGPARM ""
-#endif
-
#ifdef CONFIG_4KSTACKS
#define MODULE_STACKSIZE "4KSTACKS "
#else
#define MODULE_STACKSIZE ""
#endif
-#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_REGPARM MODULE_STACKSIZE
+#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE
#endif /* _ASM_I386_MODULE_H */