From: Linus Torvalds <torvalds@osdl.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: RFC: [2.6 patch] i386: always enable REGPARM
Date: Wed, 17 Nov 2004 08:07:50 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.58.0411170804550.2222@ppc970.osdl.org> (raw)
In-Reply-To: <20041117043223.GF4943@stusta.de>
On Wed, 17 Nov 2004, Adrian Bunk wrote:
>
> Is there still a known reason to disable CONFIG_REGPARM on i386 with
> gcc 3?
I wouldn't want to remove the config option, but we _can_ turn it around,
and just force it to 'y'. And if nobody reports any strange problems in
a few months, _then_ we can remove it.
I just make the diff be something like the appended.
Linus
----
===== arch/i386/Kconfig 1.134 vs edited =====
--- 1.134/arch/i386/Kconfig 2004-10-21 18:35:11 -07:00
+++ edited/arch/i386/Kconfig 2004-11-17 08:07:06 -08:00
@@ -862,17 +862,8 @@
default y
config REGPARM
- bool "Use register arguments (EXPERIMENTAL)"
- depends on EXPERIMENTAL
- default n
- help
- Compile the kernel with -mregparm=3. This uses an different ABI
- and passes the first three arguments of a function call in registers.
- This will probably break binary only modules.
-
- This feature is only enabled for gcc-3.0 and later - earlier compilers
- generate incorrect output with certain kernel constructs when
- -mregparm=3 is used.
+ bool
+ default y
endmenu
prev parent reply other threads:[~2004-11-17 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-17 4:32 Adrian Bunk
2004-11-17 8:26 ` Andrew Morton
2004-11-17 16:07 ` Linus Torvalds [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0411170804550.2222@ppc970.osdl.org \
--to=torvalds@osdl.org \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®