diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-22 17:18:07 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-22 17:18:07 -0400 |
commit | 44c034799bb7a4e8090b5460e36c3993d1924006 (patch) | |
tree | 4a1299358bf7effd2745c0e14bc49e52c67ac197 /litmus/litmus.c | |
parent | f49ec60b4d6394cf199837bbe4c10258e5a877c7 (diff) | |
parent | 870eaa144c59ee2665b70dcbb9d8649e99e3c0c4 (diff) |
Merge branch 'wip-edf-wm' into wip-semi-part
This version of litmus2010 contains the implementation of three
semi-partitioned scheduling algorithms: EDF-fm, EDF-WM, and NPS-F.
Conflicts:
include/litmus/rt_param.h
litmus/Makefile
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r-- | litmus/litmus.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index b1c627db694a..2f780222d8e8 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 | ||