diff options
| author | Ethan Chen <intervigil@gmail.com> | 2018-01-20 16:35:53 -0800 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-16 12:47:43 +0200 |
| commit | c0fa7577022c4169e1aaaf1bd9e04f63d285beb2 (patch) | |
| tree | 83a03fba1d3744ec0903770bacfa0a56cea68cc5 /kernel/sched/cputime.c | |
| parent | d5cd35f38616a70453da067eda153f5dc5ede3a1 (diff) | |
sched/walt: Re-add code to allow WALT to function
Change-Id: Ieb1067c5e276f872ed4c722b7d1fabecbdad87e7
Diffstat (limited to 'kernel/sched/cputime.c')
| -rw-r--r-- | kernel/sched/cputime.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c index e6ec68c15aa3..cf6729cb46dd 100644 --- a/kernel/sched/cputime.c +++ b/kernel/sched/cputime.c @@ -6,6 +6,7 @@ #include <linux/context_tracking.h> #include <linux/cpufreq_times.h> #include "sched.h" +#include "walt.h" #ifdef CONFIG_IRQ_TIME_ACCOUNTING @@ -79,9 +80,10 @@ void irqtime_account_irq(struct task_struct *curr) irq_time_write_end(); - if (account) + if (account) { + walt_account_irqtime(cpu, curr, delta, wallclock); sched_account_irqtime(cpu, curr, delta, wallclock); - else if (curr != this_cpu_ksoftirqd()) + } else if (curr != this_cpu_ksoftirqd()) sched_account_irqstart(cpu, curr, wallclock); local_irq_restore(flags); |
