diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-01 08:55:27 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-01 13:37:45 -0400 |
commit | 7e861d78fd96c9f411b52b851c6d66b957f3e6f2 (patch) | |
tree | aa872ba67784ab8ac438f57e2f544ed471aaf7a6 | |
parent | 16cb0a3245a738633e3e21432386631f6cf0c202 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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(¶ms); | ||
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; |