Commit 0ea6c8f
sched: ceil idle index to prevent from out of bound accessing
It's possible size of given idle cost index is smaller than CPU's
possible idle index size. Ceil the CPU's idle index to prevent out
of bound accessing.
Change-Id: Idecb4f68758dd0183886ea74d0e9da3d236b0062
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
(cherry picked from commit ecedc7afd841c8d7ef0145924620304608d269ef)1 parent 23c953f commit 0ea6c8f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5892 | 5892 | | |
5893 | 5893 | | |
5894 | 5894 | | |
| 5895 | + | |
| 5896 | + | |
| 5897 | + | |
5895 | 5898 | | |
5896 | 5899 | | |
5897 | 5900 | | |
| |||
0 commit comments