[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 1/6] cpus: use first_cpu macro instead of QTAILQ_F
From: |
Emilio G. Cota |
Subject: |
[Qemu-trivial] [PATCH 1/6] cpus: use first_cpu macro instead of QTAILQ_FIRST(&cpus) |
Date: |
Mon, 27 Apr 2015 12:45:28 -0400 |
Signed-off-by: Emilio G. Cota <address@hidden>
---
cpus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpus.c b/cpus.c
index e6dcae3..62d157a 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1016,7 +1016,7 @@ static void *qemu_tcg_cpu_thread_fn(void *arg)
qemu_cond_signal(&qemu_cpu_cond);
/* wait for initial kick-off after machine start */
- while (QTAILQ_FIRST(&cpus)->stopped) {
+ while (first_cpu->stopped) {
qemu_cond_wait(tcg_halt_cond, &qemu_global_mutex);
/* process any pending work */
--
1.9.1
- [Qemu-trivial] [PATCH 0/6] trivial fixes, Emilio G. Cota, 2015/04/27
- [Qemu-trivial] [PATCH 1/6] cpus: use first_cpu macro instead of QTAILQ_FIRST(&cpus),
Emilio G. Cota <=
- [Qemu-trivial] [PATCH 3/6] qemu-char: remove unused list node from FDCharDriver, Emilio G. Cota, 2015/04/27
- [Qemu-trivial] [PATCH 2/6] input: remove unused mouse_handlers list, Emilio G. Cota, 2015/04/27
- [Qemu-trivial] [PATCH 6/6] linux-user/elfload: use QTAILQ_FOREACH instead of open-coding it, Emilio G. Cota, 2015/04/27
- [Qemu-trivial] [PATCH 5/6] coroutine: remove unnecessary parentheses in qemu_co_queue_empty, Emilio G. Cota, 2015/04/27
- [Qemu-trivial] [PATCH 4/6] gitignore: ignore *.patch files, Emilio G. Cota, 2015/04/27
- Re: [Qemu-trivial] [PATCH 0/6] trivial fixes, Michael Tokarev, 2015/04/29