From 5c5456402d467969b217d7fdd6670f8c8600f5a8 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Wed, 22 Sep 2010 15:52:03 -0400 Subject: Litmus core: allow PRECISE_ENFORCEMENT Allow all kinds of budget enforcement settings now that we have the supporting infrastructure. --- litmus/litmus.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'litmus') 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) goto out_unlock; } if (tp.budget_policy != NO_ENFORCEMENT && - tp.budget_policy != QUANTUM_ENFORCEMENT) + tp.budget_policy != QUANTUM_ENFORCEMENT && + tp.budget_policy != PRECISE_ENFORCEMENT) { printk(KERN_INFO "litmus: real-time task %d rejected " - "because unsupported budget enforcement policy specified\n", pid); + "because unsupported budget enforcement policy " + "specified (%d)\n", + pid, tp.budget_policy); goto out_unlock; } -- cgit v1.2.2