diff options
-rw-r--r-- | litmus/sched_edf_wm.c | 7 |
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 */ |
490 | static struct sched_plugin edf_wm_plugin __cacheline_aligned_in_smp = { | 490 | static 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), |