summaryrefslogtreecommitdiff
path: root/graysky_bdver2-hotfix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graysky_bdver2-hotfix.patch')
-rw-r--r--graysky_bdver2-hotfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/graysky_bdver2-hotfix.patch b/graysky_bdver2-hotfix.patch
new file mode 100644
index 0000000..5cd9dbc
--- /dev/null
+++ b/graysky_bdver2-hotfix.patch
@@ -0,0 +1,11 @@
+--- a/kernel_gcc_patch-20180509/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
++++ b/kernel_gcc_patch-20180509/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
+@@ -492,7 +492,7 @@ + cflags-$(CONFIG_MBARCELONA) += $(call cc-option,-march=barcelona)
+ + cflags-$(CONFIG_MBOBCAT) += $(call cc-option,-march=btver1)
+ + cflags-$(CONFIG_MJAGUAR) += $(call cc-option,-march=btver2)
+ + cflags-$(CONFIG_MBULLDOZER) += $(call cc-option,-march=bdver1)
+-+ cflags-$(CONFIG_MPILEDRIVER) += $(call cc-option,-march=bdver2)
+++ cflags-$(CONFIG_MPILEDRIVER) += $(call cc-option,-march=bdver2) $(call cc-option,-mno-tbm)
+ + cflags-$(CONFIG_MSTEAMROLLER) += $(call cc-option,-march=bdver3)
+ + cflags-$(CONFIG_MEXCAVATOR) += $(call cc-option,-march=bdver4)
+ + cflags-$(CONFIG_MZEN) += $(call cc-option,-march=znver1)