aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/module.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-06 20:14:12 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:12 -0500
commita1a70c25bed75ed36ed48bbe18b9029428d2452d (patch)
tree0ab9fcebc25f9f71be61f91bfca96aa1e0585a0d /include/asm-i386/module.h
parent73ad8355d7db6a3cdcf313d4a4586a8f81b19c2f (diff)
[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/module.h')
-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 fe5ae42e0273..02f8f541cbe0 100644
--- a/include/asm-i386/module.h
+++ b/include/asm-i386/module.h
@@ -62,18 +62,12 @@ struct mod_arch_specific
62#error unknown processor family 62#error unknown processor family
63#endif 63#endif
64 64
65#ifdef CONFIG_REGPARM
66#define MODULE_REGPARM "REGPARM "
67#else
68#define MODULE_REGPARM ""
69#endif
70
71#ifdef CONFIG_4KSTACKS 65#ifdef CONFIG_4KSTACKS
72#define MODULE_STACKSIZE "4KSTACKS " 66#define MODULE_STACKSIZE "4KSTACKS "
73#else 67#else
74#define MODULE_STACKSIZE "" 68#define MODULE_STACKSIZE ""
75#endif 69#endif
76 70
77#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_REGPARM MODULE_STACKSIZE 71#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE
78 72
79#endif /* _ASM_I386_MODULE_H */ 73#endif /* _ASM_I386_MODULE_H */