diff options
| author | Olav Haugan <ohaugan@codeaurora.org> | 2016-07-16 11:31:24 -0700 |
|---|---|---|
| committer | Olav Haugan <ohaugan@codeaurora.org> | 2016-07-16 11:38:59 -0700 |
| commit | bf25090979ba893a2582ffa8ccb29cf5b8cc58d5 (patch) | |
| tree | 7963926462899b7d246fe0755be86150b7235c0c | |
| parent | e3473cacaa2916b8e11fb2b26be2b675b9c23ee3 (diff) | |
sched/core: Fix uninitialized variable used for tracepoint
When predictive dcvs is enabled a tracepoint will log a value that is
garbage due to being uninitialized. Fix this.
CRs-fixed: 1042660
Change-Id: I2b94e78f2470dbc2fd469b5cab287d643e8f3227
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
| -rw-r--r-- | kernel/sched/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 631dbb0a7041..f640c0e3c7ea 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2053,7 +2053,7 @@ static int send_notification(struct rq *rq, int check_pred, int check_groups) unsigned int cur_freq, freq_required; unsigned long flags; int rc = 0; - u64 group_load = 0, new_load; + u64 group_load = 0, new_load = 0; if (!sched_enable_hmp) return 0; |
