Skip to contentSkip to conversation

x86/cpu: remove unused AMD Elan cflags definition

PATCH In review Ethan Nelson-Moore 2 participants 3 messages Jun 9 – Jun 10 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/cpu: remove unused AMD Elan cflags definition

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.

---
 arch/x86/Makefile_32.cpu | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/Makefile_32.cpu +0 -3
index 7c9898c15376..8bad96d7c463 100644
@@ -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)
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 15 lines · Ethan Nelson-Moore

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.

---
 arch/x86/Makefile_32.cpu | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/Makefile_32.cpu +0 -0
index 7c9898c15376..8bad96d7c463 100644

arch/x86/Makefile_32.cpu cflags-$(CONFIG_MVIAC3_2) += $(call cc-option,-march=c3-2,-march=i686) · line 36

Quoted 9 lines
arch/x86/Makefile_32.cpu +0 -3
@@ -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.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette