aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-09-21 23:41:27 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-09-21 23:41:27 -0400
commit48b499e2cd36877eae0e3c7755273cf213d0085b (patch)
treed4bc30def5938b852972b49295661880ba4e4e66
parent2bf9c21ea9435c157f4ffc203939a2762ca14f93 (diff)
EDF-WM: remove old code & comment
-rw-r--r--litmus/sched_edf_wm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/litmus/sched_edf_wm.c b/litmus/sched_edf_wm.c
index 28ef5f1195fa..ec8df1b1cc7c 100644
--- a/litmus/sched_edf_wm.c
+++ b/litmus/sched_edf_wm.c
@@ -489,9 +489,6 @@ static long wm_admit_task(struct task_struct* t)
489/* Plugin object */ 489/* Plugin object */
490static struct sched_plugin edf_wm_plugin __cacheline_aligned_in_smp = { 490static struct sched_plugin edf_wm_plugin __cacheline_aligned_in_smp = {
491 .plugin_name = "EDF-WM", 491 .plugin_name = "EDF-WM",
492#ifdef CONFIG_SRP
493 .srp_active = 1,
494#endif
495 .tick = wm_tick, 492 .tick = wm_tick,
496 .task_new = wm_task_new, 493 .task_new = wm_task_new,
497 .complete_job = complete_job, 494 .complete_job = complete_job,
@@ -508,9 +505,7 @@ static int __init init_edf_wm(void)
508{ 505{
509 int i; 506 int i;
510 507
511 /* We do not really want to support cpu hotplug, do we? ;) 508 /* FIXME: breaks with CPU hotplug
512 * However, if we are so crazy to do so,
513 * we cannot use num_online_cpu()
514 */ 509 */
515 for (i = 0; i < num_online_cpus(); i++) { 510 for (i = 0; i < num_online_cpus(); i++) {
516 wm_domain_init(remote_domain(i), 511 wm_domain_init(remote_domain(i),