aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2014-01-17 15:55:38 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2014-01-17 15:55:38 -0500
commite121b41ebcfa1ce83ab77fc93e7fdbb1f522437e (patch)
tree58cce8a8a4c831aba8df9c43033fd57f80bf5178 /litmus/litmus.c
parent379f71386ac543baf10d352459405b2d42d7aa21 (diff)
Add combined PGM_SRC_SINK node type.
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 8937f5233b0e..76378ce34c2b 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -144,6 +144,12 @@ asmlinkage long sys_set_rt_task_param(pid_t pid, struct rt_task __user * param)
144 pid, tp.budget_policy); 144 pid, tp.budget_policy);
145 goto out_unlock; 145 goto out_unlock;
146 } 146 }
147 if (tp.pgm_type < PGM_NOT_A_NODE || tp.pgm_type > PGM_INTERNAL) {
148 printk(KERN_INFO "litmus: real-time task %d rejected "
149 "because of unknown PGM node type specified (%d)\n",
150 pid, tp.pgm_type);
151 goto out_unlock;
152 }
147 153
148 target->rt_param.task_params = tp; 154 target->rt_param.task_params = tp;
149 155