aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/sched_edfsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/litmus/sched_edfsc.c b/litmus/sched_edfsc.c
index 4e931643980a..b8e1be14707b 100644
--- a/litmus/sched_edfsc.c
+++ b/litmus/sched_edfsc.c
@@ -38,8 +38,7 @@ static int __init init_edfsc(void){
38 int cpu; 38 int cpu;
39 cpu_entry_t *entry; 39 cpu_entry_t *entry;
40 40
41 for_each_online_cpu(cpu) { 41 for (cpu = 0; cpu < num_online_cpus(); cpu++) {
42 TRACE("Initializing CPU%d...\n", cpu);
43 entry = &per_cpu(edfsc_cpu_state, cpu); 42 entry = &per_cpu(edfsc_cpu_state, cpu);
44 entry->cpu = cpu; 43 entry->cpu = cpu;
45 entry->scheduled = NULL; 44 entry->scheduled = NULL;