aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2011-09-23 13:44:12 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2011-09-23 13:44:12 -0400
commited3a50a2e11d4d8e09986bfb24068e479626e069 (patch)
tree00db6f3200ec41b64a49a40500c7bd803d16f05e
parent1e44b612edef027191fc3fa573d3396e1aacaedf (diff)
Removed level D
-rw-r--r--bin/rtspin.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/rtspin.c b/bin/rtspin.c
index 728afb5..37d04d8 100644
--- a/bin/rtspin.c
+++ b/bin/rtspin.c
@@ -173,8 +173,6 @@ enum crit_level str2crit(const char* str)
173 return CRIT_LEVEL_B; 173 return CRIT_LEVEL_B;
174 else if (0 == strncasecmp("c", str, 1)) 174 else if (0 == strncasecmp("c", str, 1))
175 return CRIT_LEVEL_C; 175 return CRIT_LEVEL_C;
176 else if (0 == strncasecmp("d", str, 1))
177 return CRIT_LEVEL_D;
178 /* failure */ 176 /* failure */
179 return NUM_CRIT_LEVELS; 177 return NUM_CRIT_LEVELS;
180} 178}
@@ -308,8 +306,7 @@ int main(int argc, char** argv)
308 if (ret < 0) 306 if (ret < 0)
309 bail_out("could not setup rt task params"); 307 bail_out("could not setup rt task params");
310 308
311 if (NUM_CRIT_LEVELS != mc_task.crit) 309 if (NUM_CRIT_LEVELS != mc_task.crit) {
312 {
313 ret = set_rt_task_mc_param(gettid(), &mc_task); 310 ret = set_rt_task_mc_param(gettid(), &mc_task);
314 if (ret < 0) 311 if (ret < 0)
315 bail_out("could not setup rt mixed criticality params"); 312 bail_out("could not setup rt mixed criticality params");