summaryrefslogtreecommitdiff
path: root/qemu-coroutine-int.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-01-13 17:34:04 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-17 08:33:33 -0600
commit1bbbdabd568fb62125cf214327b4fb5c5d49c694 (patch)
treeb3d269a3a44718cd2839fddd2a86f54913d695d1 /qemu-coroutine-int.h
parentcf904cfa7cf8fcd54ca4ad756e26997d1e7383fb (diff)
coroutine: switch to QSLIST
QSLIST can be used for a free list, do it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-coroutine-int.h')
-rw-r--r--qemu-coroutine-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-coroutine-int.h b/qemu-coroutine-int.h
index d495615cf6..0f1bd80a8d 100644
--- a/qemu-coroutine-int.h
+++ b/qemu-coroutine-int.h
@@ -37,7 +37,7 @@ struct Coroutine {
CoroutineEntry *entry;
void *entry_arg;
Coroutine *caller;
- QLIST_ENTRY(Coroutine) pool_next;
+ QSLIST_ENTRY(Coroutine) pool_next;
QTAILQ_ENTRY(Coroutine) co_queue_next;
};