diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-fd7ec8e06cd1876ef478975f052ff64134d19c6c')
-rw-r--r-- | emulators/qemu-devel/files/extra-patch-fd7ec8e06cd1876ef478975f052ff64134d19c6c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-fd7ec8e06cd1876ef478975f052ff64134d19c6c b/emulators/qemu-devel/files/extra-patch-fd7ec8e06cd1876ef478975f052ff64134d19c6c new file mode 100644 index 000000000000..27bc834a9844 --- /dev/null +++ b/emulators/qemu-devel/files/extra-patch-fd7ec8e06cd1876ef478975f052ff64134d19c6c @@ -0,0 +1,13 @@ +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 */ |