diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-11-30 14:33:52 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-11-30 14:33:52 -0500 |
commit | 964297dd588ee6feab1aedecb2611bece2681973 (patch) | |
tree | 583b2c77c0591ccca9d0da7f78ba8489114f21e9 /litmus/ikglp_lock.c | |
parent | 3ee5f13b8213270ba30e4b3625dff46b1cc8326f (diff) |
Fix compilation warnings.
Diffstat (limited to 'litmus/ikglp_lock.c')
-rwxr-xr-x[-rw-r--r--] | litmus/ikglp_lock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/ikglp_lock.c b/litmus/ikglp_lock.c index 16ae621bbf75..b29828344dd1 100644..100755 --- a/litmus/ikglp_lock.c +++ b/litmus/ikglp_lock.c | |||
@@ -2598,7 +2598,10 @@ ikglp_wait_state_t* gpu_ikglp_advise_donor_to_fq(struct ikglp_affinity* aff, str | |||
2598 | ikglp_wait_state_t *donor = NULL; | 2598 | ikglp_wait_state_t *donor = NULL; |
2599 | int distance = MIG_NONE; | 2599 | int distance = MIG_NONE; |
2600 | int gpu = replica_to_gpu(aff, ikglp_get_idx(sem, fq)); | 2600 | int gpu = replica_to_gpu(aff, ikglp_get_idx(sem, fq)); |
2601 | |||
2602 | #ifdef CONFIG_SCHED_DEBUG_TRACE | ||
2601 | ikglp_wait_state_t* default_donor = binheap_top_entry(&sem->donors, ikglp_wait_state_t, node); | 2603 | ikglp_wait_state_t* default_donor = binheap_top_entry(&sem->donors, ikglp_wait_state_t, node); |
2604 | #endif | ||
2602 | 2605 | ||
2603 | __find_closest_donor(gpu, sem->donors.root, &donor, &distance); | 2606 | __find_closest_donor(gpu, sem->donors.root, &donor, &distance); |
2604 | 2607 | ||