summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-08-28 20:52:19 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-08-28 20:52:19 -0700
commit1b2c5728802cab18f03149058f66af76f866bb54 (patch)
tree52855487caaa5806cd613d13f8a833a0df952cb4
parentAdded ck 4.18 hotfix (diff)
downloadlinux-libre-hardened-ck-1b2c5728802cab18f03149058f66af76f866bb54.tar.xz
Repaired mod
-rw-r--r--PKGBUILD2
-rw-r--r--patch-4.18-ck1-jcmod1.patch18
2 files changed, 11 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 929a76c..01ce823 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,7 +47,7 @@ sha256sums=('55ddf20702311cf3e32127135a38cb272313679962e8a798c108b01cadaeca4f'
'SKIP'
'a06238ea0ce66d090fa899d6951c9d40fa993c7b4975088dded2c1e660c1ff69'
'SKIP'
- 'ea34f144abf9d714e268626e3a9332dc302a4754cbf092b5486dbf3c07fe57a0'
+ 'f00cfe3d497254853793d3aa751f5d19d81ced54504a56f247c03908eee230d1'
'6e1f3cc3eb9a1e30a69ef1999f9aa6ad7f2f9fe4af7ba5dabe25d4ff19ee6740'
'226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
diff --git a/patch-4.18-ck1-jcmod1.patch b/patch-4.18-ck1-jcmod1.patch
index 3e0f45d..5b9db88 100644
--- a/patch-4.18-ck1-jcmod1.patch
+++ b/patch-4.18-ck1-jcmod1.patch
@@ -16115,21 +16115,23 @@ index 2d9837c0aff4..dc8ef7c52781 100644
static int ten_thousand __read_only = 10000;
#endif
#ifdef CONFIG_PERF_EVENTS
-@@ -292,7 +300,7 @@ .maxlen = sizeof(unsigned int),
- .mode = 0644,
- .proc_handler = proc_dointvec,
- },
+@@ -292,7 +300,7 @@ },
+ { }
+ };
+
-#ifdef CONFIG_SCHED_DEBUG
+#if defined(CONFIG_SCHED_DEBUG) && !defined(CONFIG_SCHED_MUQSS)
- {
- .procname = "sched_min_granularity_ns",
- .data = &sysctl_sched_min_granularity,
-@@ -322,4 +322,5 @@ #endif
+ static int min_sched_granularity_ns __read_only = 100000; /* 100 usecs */
+ static int max_sched_granularity_ns __read_only = NSEC_PER_SEC; /* 1 second */
+ static int min_wakeup_granularity_ns __read_only; /* 0 usecs */
+@@ -309,6 +317,7 @@ static int max_extfrag_threshold = 1000;
+ #endif
static struct ctl_table kern_table[] = {
+#ifndef CONFIG_SCHED_MUQSS
{
.procname = "sched_child_runs_first",
+ .data = &sysctl_sched_child_runs_first,
@@ -471,6 +480,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &one,
},