aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rtspin.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rtspin.c')
-rw-r--r--bin/rtspin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rtspin.c b/bin/rtspin.c
index 224a201..3f80448 100644
--- a/bin/rtspin.c
+++ b/bin/rtspin.c
@@ -343,8 +343,9 @@ int main(int argc, char** argv)
343 param.cls = class; 343 param.cls = class;
344 param.budget_policy = (want_enforcement) ? 344 param.budget_policy = (want_enforcement) ?
345 PRECISE_ENFORCEMENT : NO_ENFORCEMENT; 345 PRECISE_ENFORCEMENT : NO_ENFORCEMENT;
346 if (migrate) 346 if (migrate) {
347 param.cpu = cluster_to_first_cpu(cluster, cluster_size); 347 param.cpu = cluster_to_first_cpu(cluster, cluster_size);
348 }
348 ret = set_rt_task_param(gettid(), &param); 349 ret = set_rt_task_param(gettid(), &param);
349 if (ret < 0) 350 if (ret < 0)
350 bail_out("could not setup rt task params"); 351 bail_out("could not setup rt task params");