diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 0236958addcb..0d1717b00225 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -834,7 +834,7 @@ static inline u64 global_rt_period(void) | |||
834 | 834 | ||
835 | static inline u64 global_rt_runtime(void) | 835 | static inline u64 global_rt_runtime(void) |
836 | { | 836 | { |
837 | if (sysctl_sched_rt_period < 0) | 837 | if (sysctl_sched_rt_runtime < 0) |
838 | return RUNTIME_INF; | 838 | return RUNTIME_INF; |
839 | 839 | ||
840 | return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; | 840 | return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; |