diff options
author | roel kluin <roel.kluin@gmail.com> | 2008-07-22 20:51:15 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:24 (GMT) |
commit | e26873bb10f722f10b1af9de05119a3d7cbc07b2 (patch) | |
tree | f5cbfab3e45ee49ff36d18784d2e789687415e15 | |
parent | 94f565598827e2015dce97f4c1ac4871ab84407b (diff) | |
download | linux-fsl-qoriq-e26873bb10f722f10b1af9de05119a3d7cbc07b2.tar.xz |
sched: test runtime rather than period in global_rt_runtime()
Test runtime rather than period
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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 0236958..0d1717b 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -834,7 +834,7 @@ static inline u64 global_rt_period(void) static inline u64 global_rt_runtime(void) { - if (sysctl_sched_rt_period < 0) + if (sysctl_sched_rt_runtime < 0) return RUNTIME_INF; return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC; |