mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
[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>
This commit is contained in:
parent
73ad8355d7
commit
a1a70c25be
4 changed files with 2 additions and 27 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue