|
@@ -7738,11 +7738,11 @@ static long sched_group_rt_runtime(struct task_group *tg)
|
|
|
return rt_runtime_us;
|
|
|
}
|
|
|
|
|
|
-static int sched_group_set_rt_period(struct task_group *tg, long rt_period_us)
|
|
|
+static int sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us)
|
|
|
{
|
|
|
u64 rt_runtime, rt_period;
|
|
|
|
|
|
- rt_period = (u64)rt_period_us * NSEC_PER_USEC;
|
|
|
+ rt_period = rt_period_us * NSEC_PER_USEC;
|
|
|
rt_runtime = tg->rt_bandwidth.rt_runtime;
|
|
|
|
|
|
return tg_set_rt_bandwidth(tg, rt_period, rt_runtime);
|