mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [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

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

Powered by JetHome