From 4be8ef609123d4b4d281976f6bf5e65024e66b0b Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Wed, 21 Mar 2012 19:25:02 -0400 Subject: Make C-EDF work with simplified binheap_delete --- litmus/sched_cedf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'litmus') 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) cedf_domain_t *cluster = entry->cluster; if (likely(entry->in_heap)) - binheap_delete(&entry->hn, &cluster->cpu_heap, cpu_entry_t, hn); + binheap_delete(&entry->hn, &cluster->cpu_heap); binheap_add(&entry->hn, &cluster->cpu_heap, cpu_entry_t, hn); entry->in_heap = 1; } -- cgit v1.2.2