summaryrefslogtreecommitdiff
path: root/system/easy-kernel/0250-projectc-5.15-r1.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-03-13 19:09:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:55 -0500
commit95f208a057047700bfc55bd0c5318362c6c3e773 (patch)
tree52f0d0583fdfb772d0f31ab3343b832d941cf147 /system/easy-kernel/0250-projectc-5.15-r1.patch
parent5ee14d3ae6662498723b1daf6f00f1a71521740f (diff)
downloadpackages-95f208a057047700bfc55bd0c5318362c6c3e773.tar.gz
packages-95f208a057047700bfc55bd0c5318362c6c3e773.tar.bz2
packages-95f208a057047700bfc55bd0c5318362c6c3e773.tar.xz
packages-95f208a057047700bfc55bd0c5318362c6c3e773.zip
system/easy-kernel: Update patchset to 5.15.28
* Adds x86 compilation patch from Laurent * Update ProjectC patch to sync with upstream cputime changes * Update PPC64 config for new option knob
Diffstat (limited to 'system/easy-kernel/0250-projectc-5.15-r1.patch')
-rw-r--r--system/easy-kernel/0250-projectc-5.15-r1.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/easy-kernel/0250-projectc-5.15-r1.patch b/system/easy-kernel/0250-projectc-5.15-r1.patch
index 3a3bf7420..c67c2c9fc 100644
--- a/system/easy-kernel/0250-projectc-5.15-r1.patch
+++ b/system/easy-kernel/0250-projectc-5.15-r1.patch
@@ -9157,7 +9157,7 @@ diff -urN linux-5.15.3/kernel/sched/cputime.c linux-prjc-v5.15-prjc-r1/kernel/sc
/* Add guest time to cpustat. */
- if (task_nice(p) > 0) {
+ if (task_running_nice(p)) {
- cpustat[CPUTIME_NICE] += cputime;
+ task_group_account_field(p, CPUTIME_NICE, cputime);
cpustat[CPUTIME_GUEST_NICE] += cputime;
} else {
@@ -270,7 +270,7 @@