Skip to content

Commit

Permalink
one line lix
Browse files Browse the repository at this point in the history
  • Loading branch information
graysky2 committed Nov 14, 2021
1 parent af5c6eb commit f141161
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions more-uarches-for-kernel-5.15+.patch
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,20 @@ REFERENCES
5. http://www.linuxforge.net/docs/linux/linux-gcc.php

Signed-off-by: graysky <graysky@archlinux.us>
---
From 1bfa1ef4e3a93e540a64cd1020863019dff3046e Mon Sep 17 00:00:00 2001
From: graysky <graysky@archlinux.us>
Date: Sun, 14 Nov 2021 16:08:29 -0500
Subject: [PATCH] iiii

---
arch/x86/Kconfig.cpu | 332 ++++++++++++++++++++++++++++++--
arch/x86/Makefile | 43 ++++-
arch/x86/Makefile | 40 +++-
arch/x86/include/asm/vermagic.h | 66 +++++++
3 files changed, 427 insertions(+), 14 deletions(-)
3 files changed, 424 insertions(+), 14 deletions(-)

diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
index 814fe0d349b0..61f0d7757499 100644
index eefc434351db..331f7631339a 100644
--- a/arch/x86/Kconfig.cpu
+++ b/arch/x86/Kconfig.cpu
@@ -157,7 +157,7 @@ config MPENTIUM4
Expand Down Expand Up @@ -536,10 +542,10 @@ index 814fe0d349b0..61f0d7757499 100644
default "4"

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 7488cfbbd2f6..72d12beb9031 100644
index 42243869216d..ab1ad6959b96 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -119,8 +119,47 @@ else
@@ -119,8 +119,44 @@ else
# FIXME - should be integrated in Makefile.cpu (Makefile_32.cpu)
cflags-$(CONFIG_MK8) += -march=k8
cflags-$(CONFIG_MPSC) += -march=nocona
Expand All @@ -551,12 +557,9 @@ index 7488cfbbd2f6..72d12beb9031 100644
+ cflags-$(CONFIG_MBOBCAT) += -march=btver1
+ cflags-$(CONFIG_MJAGUAR) += -march=btver2
+ cflags-$(CONFIG_MBULLDOZER) += -march=bdver1
+ cflags-$(CONFIG_MPILEDRIVER) += -march=bdver2
+ cflags-$(CONFIG_MPILEDRIVER) += $(call cc-option,-mno-tbm)
+ cflags-$(CONFIG_MSTEAMROLLER) += -march=bdver3
+ cflags-$(CONFIG_MSTEAMROLLER) += $(call cc-option,-mno-tbm)
+ cflags-$(CONFIG_MEXCAVATOR) += -march=bdver4
+ cflags-$(CONFIG_MEXCAVATOR) += $(call cc-option,-mno-tbm)
+ cflags-$(CONFIG_MPILEDRIVER) += -march=bdver2 -mno-tbm
+ cflags-$(CONFIG_MSTEAMROLLER) += -march=bdver3 -mno-tbm
+ cflags-$(CONFIG_MEXCAVATOR) += -march=bdver4 -mno-tbm
+ cflags-$(CONFIG_MZEN) += -march=znver1
+ cflags-$(CONFIG_MZEN2) += -march=znver2
+ cflags-$(CONFIG_MZEN3) += -march=znver3
Expand Down

0 comments on commit f141161

Please sign in to comment.