aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-06-08 14:02:41 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-06-08 14:02:41 -0400
commitd671324496bed1cd10fbdf425f049eae11efde14 (patch)
tree340d23ad63ab1028ef96dc35fb0af1a54fe81cb1
parent6d5c51fa0ae84a98f4200d39de4eb2b75e369753 (diff)
Update constat SPORADIC->TASK_SPORADIC
A recent patch changed the name of the constant in the kernel. Update liblitmus accordingly.
-rw-r--r--src/litmus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/litmus.c b/src/litmus.c
index 93a1c7f..dce8e1b 100644
--- a/src/litmus.c
+++ b/src/litmus.c
@@ -85,7 +85,7 @@ void init_rt_task_param(struct rt_task* tp)
85 * - class = RT_CLASS_SOFT 85 * - class = RT_CLASS_SOFT
86 * - budget policy = NO_ENFORCEMENT 86 * - budget policy = NO_ENFORCEMENT
87 * - fixed priority = LITMUS_LOWEST_PRIORITY 87 * - fixed priority = LITMUS_LOWEST_PRIORITY
88 * - release policy = SPORADIC 88 * - release policy = TASK_SPORADIC
89 * - cpu assignment = 0 89 * - cpu assignment = 0
90 * 90 *
91 * User must still set the following fields to non-zero values: 91 * User must still set the following fields to non-zero values:
@@ -102,7 +102,7 @@ void init_rt_task_param(struct rt_task* tp)
102 tp->cls = RT_CLASS_SOFT; 102 tp->cls = RT_CLASS_SOFT;
103 tp->priority = LITMUS_LOWEST_PRIORITY; 103 tp->priority = LITMUS_LOWEST_PRIORITY;
104 tp->budget_policy = NO_ENFORCEMENT; 104 tp->budget_policy = NO_ENFORCEMENT;
105 tp->release_policy = SPORADIC; 105 tp->release_policy = TASK_SPORADIC;
106} 106}
107 107
108task_class_t str2class(const char* str) 108task_class_t str2class(const char* str)