diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-21 19:25:02 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-21 19:25:02 -0400 |
commit | 4be8ef609123d4b4d281976f6bf5e65024e66b0b (patch) | |
tree | 1d3a4e1b9df465c2ed7adf3ca39db8e0aaaa7af9 | |
parent | bf57086c9aa497c016efc208a0ceb66f262ab18b (diff) |
Make C-EDF work with simplified binheap_deletewip-binary-heap
-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 | } |