sched: change type of 'overrun' to u64
dwlsalmeida at gmail.com (Daniel W. S. Almeida)
PATCH 1/1 sched: change type of 'overrun' to u64
From: "Daniel W. S. Almeida" <dwlsalmeida at gmail.com>
hrtimer_forward_now() return value is now u64, but int was used instead. Now fixed.
Signed-off-by Daniel W. S. Almeida <dwlsalmeida at gmail.com>
--- kernel/sched/fair.c | 2 +- kernel/sched/rt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
kernel/sched/fair.c +1 -1
@@ -4913,7 +4913,7 @@ static enum hrtimer_restart sched_cfs_period_timer(struct hrtimer *timer)struct cfs_bandwidth *cfs_b = container_of(timer, struct cfs_bandwidth, period_timer);unsigned long flags; -int overrun; +u64 overrun;int idle =0 ;int count =0 ;
kernel/sched/rt.c +1 -1
@@ -19,7 +19,7 @@ static enum hrtimer_restart sched_rt_period_timer(struct hrtimer *timer)struct rt_bandwidth *rt_b = container_of(timer, struct rt_bandwidth, rt_period_timer);int idle =0 ; -int overrun; +u64 overrun;raw_spin_lock (&rt_b->rt_runtime_lock);for (;;) {
Signature · 1 line
2.23.0