aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/litmus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/litmus.c b/kernel/litmus.c
index 0ea3974e20..8ebb9c91db 100644
--- a/kernel/litmus.c
+++ b/kernel/litmus.c
@@ -717,16 +717,16 @@ long transition_to_rt(struct task_struct* tsk)
717 717
718 if (get_rt_period(tsk) == 0 || 718 if (get_rt_period(tsk) == 0 ||
719 get_exec_cost(tsk) > get_rt_period(tsk)) { 719 get_exec_cost(tsk) > get_rt_period(tsk)) {
720 printk(KERN_WARNING "litmus prepare: invald task parameters " 720 TRACE_TASK(tsk, "litmus prepare: invalid task parameters "
721 "(%lu, %lu)\n", 721 "(%lu, %lu)\n",
722 get_exec_cost(tsk), get_rt_period(tsk)); 722 get_exec_cost(tsk), get_rt_period(tsk));
723 return -EINVAL; 723 return -EINVAL;
724 } 724 }
725 725
726 if (!cpu_online(get_partition(tsk))) 726 if (!cpu_online(get_partition(tsk)))
727 { 727 {
728 printk(KERN_WARNING "litmus prepare: cpu %d is not online\n", 728 TRACE_TASK(tsk, "litmus prepare: cpu %d is not online\n",
729 get_partition(tsk)); 729 get_partition(tsk));
730 return -EINVAL; 730 return -EINVAL;
731 } 731 }
732 732