projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d986434
)
sched: hrtick_enabled() should use cpu_active()
author
Ingo Molnar
<mingo@elte.hu>
Sun, 20 Jul 2008 09:02:06 +0000
(11:02 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 20 Jul 2008 09:02:06 +0000
(11:02 +0200)
Peter pointed out that hrtick_enabled() should use cpu_active().
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 85cf246cfdf5b01b401cef35b11069817fdf7d3b..62b1b8ecb5c712aad5631039eb28a4e49a24b1a5 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-1006,7
+1006,7
@@
static inline int hrtick_enabled(struct rq *rq)
{
if (!sched_feat(HRTICK))
return 0;
- if (!cpu_
onlin
e(cpu_of(rq)))
+ if (!cpu_
activ
e(cpu_of(rq)))
return 0;
return hrtimer_is_hres_active(&rq->hrtick_timer);
}