projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f5655
)
sched: test runtime rather than period in global_rt_runtime()
author
roel kluin
<roel.kluin@gmail.com>
Tue, 22 Jul 2008 20:51:15 +0000
(16:51 -0400)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 28 Jul 2008 13:57:24 +0000
(15:57 +0200)
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>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index
0236958
..
0d1717b
100644
(file)
--- 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;