aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-28 12:30:45 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-01-28 12:30:45 -0500
commitefb4bcf9fbe49441b1de183212f6dd4f688da3bc (patch)
tree9d9d942b18652184aeea01fac98d6c18c0bbd092
parentb3a20ac279bbf57af1aaaadac86cff13c96abe79 (diff)
litmus core: use LITMUS tracing, not printk, during task mode transitions2007.3
-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