* [PATCH] x86/cpu: remove unused AMD Elan cflags definition
@ 2026-06-09 4:42 Ethan Nelson-Moore
2026-06-10 3:00 ` Borislav Petkov
0 siblings, 1 reply; 3+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-09 4:42 UTC (permalink / raw)
To: linux-kernel
Cc: Ethan Nelson-Moore, Thomas Gleixner, Ingo Molnar,
Borislav Petkov, Dave Hansen, x86, H. Peter Anvin
Support for AMD Elan CPUs was removed in commit 8b793a92d862 ("x86/cpu:
Remove M486/M486SX/ELAN support"), but the cflags -march= definition
for CONFIG_MELAN was not removed. Remove it.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/x86/Makefile_32.cpu | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu
index 7c9898c15376..8bad96d7c463 100644
--- a/arch/x86/Makefile_32.cpu
+++ b/arch/x86/Makefile_32.cpu
@@ -31,9 +31,6 @@ cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686)
cflags-$(CONFIG_MVIAC7) += -march=i686
cflags-$(CONFIG_MATOM) += -march=atom
-# AMD Elan support
-cflags-$(CONFIG_MELAN) += -march=i486
-
# Geode GX1 support
cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx
cflags-$(CONFIG_MGEODE_LX) += $(call cc-option,-march=geode,-march=pentium-mmx)
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/cpu: remove unused AMD Elan cflags definition
2026-06-09 4:42 [PATCH] x86/cpu: remove unused AMD Elan cflags definition Ethan Nelson-Moore
@ 2026-06-10 3:00 ` Borislav Petkov
2026-06-10 3:03 ` Ethan Nelson-Moore
0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2026-06-10 3:00 UTC (permalink / raw)
To: Ethan Nelson-Moore
Cc: linux-kernel, Thomas Gleixner, Ingo Molnar, Dave Hansen, x86,
H. Peter Anvin
On Mon, Jun 08, 2026 at 09:42:12PM -0700, Ethan Nelson-Moore wrote:
> Support for AMD Elan CPUs was removed in commit 8b793a92d862 ("x86/cpu:
> Remove M486/M486SX/ELAN support"), but the cflags -march= definition
> for CONFIG_MELAN was not removed. Remove it.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
> ---
> arch/x86/Makefile_32.cpu | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu
> index 7c9898c15376..8bad96d7c463 100644
> --- a/arch/x86/Makefile_32.cpu
> +++ b/arch/x86/Makefile_32.cpu
> @@ -31,9 +31,6 @@ cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686)
> cflags-$(CONFIG_MVIAC7) += -march=i686
> cflags-$(CONFIG_MATOM) += -march=atom
>
> -# AMD Elan support
> -cflags-$(CONFIG_MELAN) += -march=i486
> -
> # Geode GX1 support
> cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx
> cflags-$(CONFIG_MGEODE_LX) += $(call cc-option,-march=geode,-march=pentium-mmx)
> --
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/cpu&id=435ef16e69b9d7f9cdf460a4c2edd20bb47d51fa
Patches for tip should be done against tip/master.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/cpu: remove unused AMD Elan cflags definition
2026-06-10 3:00 ` Borislav Petkov
@ 2026-06-10 3:03 ` Ethan Nelson-Moore
0 siblings, 0 replies; 3+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-10 3:03 UTC (permalink / raw)
To: Borislav Petkov
Cc: linux-kernel, Thomas Gleixner, Ingo Molnar, Dave Hansen, x86,
H. Peter Anvin
Hi, Boris,
On Tue, Jun 9, 2026 at 8:01 PM Borislav Petkov <bp@alien8.de> wrote:
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/cpu&id=435ef16e69b9d7f9cdf460a4c2edd20bb47d51fa
>
> Patches for tip should be done against tip/master.
Thanks for letting me know. Sorry for the noise.
Ethan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-10 3:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 4:42 [PATCH] x86/cpu: remove unused AMD Elan cflags definition Ethan Nelson-Moore
2026-06-10 3:00 ` Borislav Petkov
2026-06-10 3:03 ` Ethan Nelson-Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox