aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2014-04-01 08:55:27 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2014-04-01 13:37:45 -0400
commit7e861d78fd96c9f411b52b851c6d66b957f3e6f2 (patch)
treeaa872ba67784ab8ac438f57e2f544ed471aaf7a6
parent16cb0a3245a738633e3e21432386631f6cf0c202 (diff)
Add missing default param initialization
Make sure new default parameters such as the deadline are taken care of in the old task creation routines. This fixes a problem with rt_launch.
-rw-r--r--src/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/task.c b/src/task.c
index 35bad66..cd78aa9 100644
--- a/src/task.c
+++ b/src/task.c
@@ -44,6 +44,7 @@ int __create_rt_task(rt_fn_t rt_prog, void *arg, int cluster,
44 lt_t wcet, lt_t period, unsigned int priority, task_class_t class) 44 lt_t wcet, lt_t period, unsigned int priority, task_class_t class)
45{ 45{
46 struct rt_task params; 46 struct rt_task params;
47 init_rt_task_param(&params);
47 params.cpu = domain_to_first_cpu(cluster); 48 params.cpu = domain_to_first_cpu(cluster);
48 params.period = period; 49 params.period = period;
49 params.exec_cost = wcet; 50 params.exec_cost = wcet;