aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_psn_edf.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-07-01 10:45:20 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-07-01 10:45:20 -0400
commit9b070bc6b676c62d4988da8699f0a731e733b318 (patch)
treea672d1b726cdce756f9a67786f0262cca776d3fe /litmus/sched_psn_edf.c
parent0291b7547359c8e01ca1146ca8f2d5f321338ff8 (diff)
make inclusion of SRP support optional2008.1
we can disable it to improve performance when it is not needed
Diffstat (limited to 'litmus/sched_psn_edf.c')
-rw-r--r--litmus/sched_psn_edf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_psn_edf.c b/litmus/sched_psn_edf.c
index 50fc95d749..0e9c9dd80a 100644
--- a/litmus/sched_psn_edf.c
+++ b/litmus/sched_psn_edf.c
@@ -416,7 +416,9 @@ static long psnedf_admit_task(struct task_struct* tsk)
416/* Plugin object */ 416/* Plugin object */
417static struct sched_plugin psn_edf_plugin __cacheline_aligned_in_smp = { 417static struct sched_plugin psn_edf_plugin __cacheline_aligned_in_smp = {
418 .plugin_name = "PSN-EDF", 418 .plugin_name = "PSN-EDF",
419#ifdef CONFIG_SRP
419 .srp_active = 1, 420 .srp_active = 1,
421#endif
420 .tick = psnedf_tick, 422 .tick = psnedf_tick,
421 .task_new = psnedf_task_new, 423 .task_new = psnedf_task_new,
422 .complete_job = complete_job, 424 .complete_job = complete_job,