diff options
-rw-r--r-- | litmus/sched_cedf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index d498bf39d4df..49653f1ea49d 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -136,7 +136,7 @@ static void update_cpu_position(cpu_entry_t *entry) | |||
136 | cedf_domain_t *cluster = entry->cluster; | 136 | cedf_domain_t *cluster = entry->cluster; |
137 | 137 | ||
138 | if (likely(entry->in_heap)) | 138 | if (likely(entry->in_heap)) |
139 | binheap_delete(&entry->hn, &cluster->cpu_heap, cpu_entry_t, hn); | 139 | binheap_delete(&entry->hn, &cluster->cpu_heap); |
140 | binheap_add(&entry->hn, &cluster->cpu_heap, cpu_entry_t, hn); | 140 | binheap_add(&entry->hn, &cluster->cpu_heap, cpu_entry_t, hn); |
141 | entry->in_heap = 1; | 141 | entry->in_heap = 1; |
142 | } | 142 | } |