diff options
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index 702999191203..0f122e1e7ec1 100644 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -168,6 +168,14 @@ asmlinkage long sys_set_rt_task_param(pid_t pid, struct rt_task __user * param) | |||
168 | pid, tp.budget_policy); | 168 | pid, tp.budget_policy); |
169 | goto out_unlock; | 169 | goto out_unlock; |
170 | } | 170 | } |
171 | #ifdef CONFIG_PGMRT_SUPPORT | ||
172 | if (tp.pgm_type < PGM_NOT_A_NODE || tp.pgm_type > PGM_INTERNAL) { | ||
173 | printk(KERN_INFO "litmus: real-time task %d rejected " | ||
174 | "because of unknown PGM node type specified (%d)\n", | ||
175 | pid, tp.pgm_type); | ||
176 | goto out_unlock; | ||
177 | } | ||
178 | #endif | ||
171 | 179 | ||
172 | target->rt_param.task_params = tp; | 180 | target->rt_param.task_params = tp; |
173 | 181 | ||