diff options
Diffstat (limited to 'litmus/sched_pfair.c')
-rwxr-xr-x | litmus/sched_pfair.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/litmus/sched_pfair.c b/litmus/sched_pfair.c index d0c06e03a7..a733c95b9a 100755 --- a/litmus/sched_pfair.c +++ b/litmus/sched_pfair.c | |||
@@ -434,7 +434,7 @@ static void schedule_next_quantum(quanta_t time) | |||
434 | 434 | ||
435 | for (cpu = 0; cpu < NR_CPUS; cpu++) | 435 | for (cpu = 0; cpu < NR_CPUS; cpu++) |
436 | if (pstate[cpu]->linked) | 436 | if (pstate[cpu]->linked) |
437 | PTRACE_TASK(pstate[cpu]->linked, | 437 | PTRACE_TASK(pstate[cpu]->linked, |
438 | " linked on %d.\n", cpu); | 438 | " linked on %d.\n", cpu); |
439 | else | 439 | else |
440 | PTRACE("(null) linked on %d.\n", cpu); | 440 | PTRACE("(null) linked on %d.\n", cpu); |
@@ -511,7 +511,7 @@ static void pfair_tick(struct task_struct* t) | |||
511 | cur = current_quantum(state); | 511 | cur = current_quantum(state); |
512 | PTRACE("q %lu at %llu\n", cur, litmus_clock()); | 512 | PTRACE("q %lu at %llu\n", cur, litmus_clock()); |
513 | 513 | ||
514 | /* Attempt to advance time. First CPU to get here | 514 | /* Attempt to advance time. First CPU to get here |
515 | * will prepare the next quantum. | 515 | * will prepare the next quantum. |
516 | */ | 516 | */ |
517 | time = cmpxchg(&pfair_time, | 517 | time = cmpxchg(&pfair_time, |
@@ -551,7 +551,7 @@ static void pfair_tick(struct task_struct* t) | |||
551 | 551 | ||
552 | if (state->local != current | 552 | if (state->local != current |
553 | && (is_realtime(current) || is_present(state->local))) | 553 | && (is_realtime(current) || is_present(state->local))) |
554 | set_tsk_need_resched(current); | 554 | set_tsk_need_resched(current); |
555 | } | 555 | } |
556 | 556 | ||
557 | static int safe_to_schedule(struct task_struct* t, int cpu) | 557 | static int safe_to_schedule(struct task_struct* t, int cpu) |