Commit 5f2a663c authored by Morten Rasmussen's avatar Morten Rasmussen Committed by Todd Kjos
Browse files

sched: Relocated cpu_util() and change return type



Move cpu_util() to an earlier position in fair.c and change return
type to unsigned long as negative usage doesn't make much sense. All
other load and capacity related functions use unsigned long including
the caller of cpu_util().

Change-Id: Iedd358ff4f5d5723c70ff480ca5d320748f6a05d
cc: Ingo Molnar <mingo@redhat.com>
cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: default avatarMorten Rasmussen <morten.rasmussen@arm.com>
parent 8b660112
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment