1 |
commit: 3681e2b94c720289dc16ebced6d3402588b807ae |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 30 22:20:51 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 22:20:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3681e2b9 |
7 |
|
8 |
eclass/kernel-2.eclass: Support CPU OPT Patch in kernels >= 5.13 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/799272 |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
eclass/kernel-2.eclass | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass |
18 |
index 1210940b1fc..831dd5b5dd4 100644 |
19 |
--- a/eclass/kernel-2.eclass |
20 |
+++ b/eclass/kernel-2.eclass |
21 |
@@ -1175,7 +1175,8 @@ unipatch() { |
22 |
( kernel_is eq 5 4 && kernel_is gt 5 4 115 ) || |
23 |
( kernel_is eq 5 10 && kernel_is gt 5 10 33 ) || |
24 |
( kernel_is eq 5 11 && kernel_is gt 5 11 17 ) || |
25 |
- ( kernel_is eq 5 12 && kernel_is gt 5 12 0 ); then |
26 |
+ ( kernel_is eq 5 12 && kernel_is gt 5 12 0 ) || |
27 |
+ ( kernel_is ge 5 13); then |
28 |
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc.patch" |
29 |
UNIPATCH_DROP+=" 5010_enable-additional-cpu-optimizations-for-gcc-4.9.patch" |
30 |
UNIPATCH_DROP+=" 5011_enable-cpu-optimizations-for-gcc8.patch" |