aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-09-22 15:52:03 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-10-19 09:40:42 -0400
commit5c5456402d467969b217d7fdd6670f8c8600f5a8 (patch)
tree9b119bda25aa31242ab8692b473e0fa6dbea6882
parent7caae3d71eae4f5307cae98131390e9d10627c01 (diff)
Litmus core: allow PRECISE_ENFORCEMENT2010.2
Allow all kinds of budget enforcement settings now that we have the supporting infrastructure.
-rw-r--r--litmus/litmus.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index c60423228607..b04a42b0da9c 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -115,10 +115,13 @@ asmlinkage long sys_set_rt_task_param(pid_t pid, struct rt_task __user * param)
115 goto out_unlock; 115 goto out_unlock;
116 } 116 }
117 if (tp.budget_policy != NO_ENFORCEMENT && 117 if (tp.budget_policy != NO_ENFORCEMENT &&
118 tp.budget_policy != QUANTUM_ENFORCEMENT) 118 tp.budget_policy != QUANTUM_ENFORCEMENT &&
119 tp.budget_policy != PRECISE_ENFORCEMENT)
119 { 120 {
120 printk(KERN_INFO "litmus: real-time task %d rejected " 121 printk(KERN_INFO "litmus: real-time task %d rejected "
121 "because unsupported budget enforcement policy specified\n", pid); 122 "because unsupported budget enforcement policy "
123 "specified (%d)\n",
124 pid, tp.budget_policy);
122 goto out_unlock; 125 goto out_unlock;
123 } 126 }
124 127