Message ID | 014628a705bdaf31c09915c29e61f4088956564d.1465392531.git.riku.voipio@linaro.org |
---|---|
State | Accepted |
Commit | 014628a705bdaf31c09915c29e61f4088956564d |
Headers | show |
diff --git a/linux-user/main.c b/linux-user/main.c index b6da0ba..150a356 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -130,7 +130,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;