diff options
| author | Olav Haugan <ohaugan@codeaurora.org> | 2016-10-25 10:38:45 -0700 |
|---|---|---|
| committer | Olav Haugan <ohaugan@codeaurora.org> | 2016-10-25 10:40:11 -0700 |
| commit | 6812bb69d0ddc4b0f8a0b5e80ee003fb5d568081 (patch) | |
| tree | 9df1877abca033549cdca59bed4a40609a0ff34e /kernel | |
| parent | 46aa49c1188a77f52dc4969f82292c176d8f399b (diff) | |
sched/fair: Fix compilation issue
Code does not compile with CONFIG_CFS_BANDWIDTH.
Change-Id: Idb74e9df4fcb55085ac869f5ba273cef4a3eb9eb
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e32d4d7903b0..e0f212743c77 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3525,7 +3525,7 @@ static void dec_throttled_cfs_rq_hmp_stats(struct hmp_sched_stats *stats, BUG_ON(stats->nr_big_tasks < 0 || (s64)stats->cumulative_runnable_avg < 0); - verify_pred_demands_sum(stats); + BUG_ON((s64)stats->pred_demands_sum < 0); } #else /* CONFIG_CFS_BANDWIDTH */ |
