Skip to content
Commit c132a1e5 authored by Pierre Gondois's avatar Pierre Gondois
Browse files

sched/fair: compute_energy() returns 'unsigned long'



compute_energy() currently returns 'long'. compute_energy()
internally returns em_cpu_energy() being an 'unsigned long',
and the result of compute_energy() is stored in an
'unsigned long'. Thus, it should also return an 'unsigned long'.

Suggested-by: Dietmar Eggemann's avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: default avatarPierre Gondois <Pierre.Gondois@arm.com>
parent 7c9dc2f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment