summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongwoo Chae <jongwoo.chae@samsung.com>2015-12-18 11:11:54 +0900
committerJongwoo Chae <jongwoo.chae@samsung.com>2015-12-18 11:11:54 +0900
commitc090d6767879a4930da7f98d5bbb85f55ac6feb1 (patch)
tree2df48bda541edf1f15c8bf1b25f6cb332ac1d1e8
parent516648f5019f577b71a9e0abc512866d45043231 (diff)
downloadqemu-accepted/tizen_mobile.tar.gz
qemu-accepted/tizen_mobile.tar.bz2
qemu-accepted/tizen_mobile.zip
Change-Id: I48a2236de35beb5d5f63c1d585aad8629cb9d93b
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 46a43668a..a1366bce8 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -121,7 +121,7 @@ void fork_end(int child)
Discard information about the parent threads. */
CPU_FOREACH_SAFE(cpu, next_cpu) {
if (cpu != thread_cpu) {
- QTAILQ_REMOVE(&cpus, thread_cpu, node);
+ QTAILQ_REMOVE(&cpus, cpu, node);
}
}
pending_cpus = 0;