|
@@ -834,7 +834,7 @@ static inline u64 global_rt_period(void)
|
|
|
|
|
|
static inline u64 global_rt_runtime(void)
|
|
static inline u64 global_rt_runtime(void)
|
|
{
|
|
{
|
|
- if (sysctl_sched_rt_period < 0)
|
|
|
|
|
|
+ if (sysctl_sched_rt_runtime < 0)
|
|
return RUNTIME_INF;
|
|
return RUNTIME_INF;
|
|
|
|
|
|
return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;
|
|
return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;
|