aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-17 20:30:27 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-04-17 20:30:27 -0400
commitbe0f622eb3fe9e9e97f95cbce86b4568d888382a (patch)
tree3e0623b4a9bf6333349258a6544aa99f970b104e /kernel
parent2155b28a6f4c74485fd6a99c4a7b4c75333c6883 (diff)
Small compilation fix
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_pfair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_pfair.c b/kernel/sched_pfair.c
index 5f6cf1f496..4fa6ba2a8f 100644
--- a/kernel/sched_pfair.c
+++ b/kernel/sched_pfair.c
@@ -288,7 +288,7 @@ out:
288 288
289static void pfair_finish_task_switch(struct task_struct *t) 289static void pfair_finish_task_switch(struct task_struct *t)
290{ 290{
291 if (!is_realtime(t) || !is_running(prev)) 291 if (!is_realtime(t) || !is_running(t))
292 return; 292 return;
293 293
294 queue_lock(&pfair.pfair_lock); 294 queue_lock(&pfair.pfair_lock);