diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-15 00:01:17 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-15 00:01:17 +0200 |
commit | de1230ab3be91cea8e4a51211b0d1ce24cc85d81 (patch) | |
tree | 55bef6971635f54b8e73663c438a45859653589d /target/linux/mediatek/patches/1002-group-sched.patch | |
parent | efb1b35fe9e904d64ba5d5b1886199a2c968ae37 (diff) | |
download | mtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.zip mtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.tar.gz mtk-20170518-de1230ab3be91cea8e4a51211b0d1ce24cc85d81.tar.bz2 |
target/linux/mediatek: add all other patches
Diffstat (limited to 'target/linux/mediatek/patches/1002-group-sched.patch')
-rw-r--r-- | target/linux/mediatek/patches/1002-group-sched.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches/1002-group-sched.patch b/target/linux/mediatek/patches/1002-group-sched.patch new file mode 100644 index 0000000..46eb810 --- /dev/null +++ b/target/linux/mediatek/patches/1002-group-sched.patch @@ -0,0 +1,17 @@ +Index: linux-3.10.20/kernel/sched/rt.c +=================================================================== +--- linux-3.10.20.orig/kernel/sched/rt.c ++++ linux-3.10.20/kernel/sched/rt.c +@@ -1102,8 +1102,11 @@ static int sched_rt_runtime_exceeded(str + + if (rt_rq->rt_time > runtime) { + struct rt_bandwidth *rt_b = sched_rt_bandwidth(rt_rq); ++#ifdef CONFIG_RT_GROUP_SCHED + int cpu = rq_cpu(rt_rq->rq); +- ++#else ++ int cpu = 0; ++#endif + printk_sched("sched: cpu=%d rt_time %llu <-> runtime" + " [%llu -> %llu], exec_delta_time[%llu]" + ", clock_task[%llu], exec_start[%llu]\n", |