diff options
| author | Puja Gupta <pujag@codeaurora.org> | 2017-11-16 13:39:33 -0800 |
|---|---|---|
| committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2018-01-05 09:15:54 +0530 |
| commit | 6e92713cbafca57d48efdf2108fedb68addbb00b (patch) | |
| tree | 75e81af35171125f0e8cbf13f8ee1b55a82defa8 /kernel/sched/hmp.c | |
| parent | 55cc722ec6725f7547071a396606f6a04b9a75e8 (diff) | |
sched: Fix possible overflow in cpu_cycles_to_freq()
Truncating period to u32 could lead to incorrect results. Make it u64
instead.
Change-Id: I5224a943e64bc6d64b6c8e614a01f798a6cdc796
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'kernel/sched/hmp.c')
0 files changed, 0 insertions, 0 deletions
