]> nv-tegra.nvidia Code Review - linux-4.9.git/commit
kernel/sched: Fix up 4.9.135 merge
authorNathan Chancellor <natechancellor@gmail.com>
Mon, 22 Oct 2018 04:43:09 +0000 (21:43 -0700)
committerNathan Chancellor <natechancellor@gmail.com>
Tue, 23 Oct 2018 17:45:16 +0000 (10:45 -0700)
commit99b01aa5d0a18576f525d7f3b8dea5ca0c3cfd2d
treef0869d7e789defcbb18966d0c8da95627eb3f76e
parentf6e538838eb5d02ba65548401d3de8e5b07b21cb
kernel/sched: Fix up 4.9.135 merge

Commit aee0c9e837c2 ("sched/cputime: Fix ksoftirqd cputime accounting
regression") moved the calls to u64_stats_update_{begin,end} from
irqtime_account_irq into irqtime_account_delta. This was missed in
commit 03fcc2fe7130 ("Merge 4.9.135 into android-4.9"), which only
removed the u64_stats_update_begin call in irqtime_account_irq, because
of a conflict with commit 3a73c96a286f ("ANDROID: sched/walt: Accounting
for number of irqs pending on each core").

Since the two code blocks above and below this statement were gated by
CONFIG_SCHED_WALT, combine them into one at the same time.

Change-Id: I25e9e5a2f063f8df53fa4ff2cfc26dced6ec2b02
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
kernel/sched/cputime.c