cf14e8bdd7
http://article.gmane.org/gmane.comp.emulators.qemu/267615 - Take updated bsd-user patches from sbruno's github repo. [1] - Add headers to my recent bsd-user patches. (they are applied as in the EXTRA_PATCHES order in the port Makefile) Submitted by: sbruno [1] Obtained from: https://github.com/seanbruno/qemu/commits/bsd-user [1]
13 lines
486 B
Text
13 lines
486 B
Text
diff --git a/bsd-user/freebsd/os-thread.h b/bsd-user/freebsd/os-thread.h
|
|
index 5e24852..28f737f 100644
|
|
--- a/bsd-user/freebsd/os-thread.h
|
|
+++ b/bsd-user/freebsd/os-thread.h
|
|
@@ -68,7 +68,7 @@ static abi_long do_freebsd_thr_exit(CPUArchState *cpu_env, abi_ulong tid_addr)
|
|
}
|
|
thread_cpu = NULL;
|
|
object_unref(OBJECT(ENV_GET_CPU(cpu_env)));
|
|
- ts = ((CPUArchState *)cpu_env)->opaque;
|
|
+ ts = cpu->opaque;
|
|
g_free(ts);
|
|
pthread_exit(NULL);
|
|
/* Doesn't return */
|