diff options
Diffstat (limited to 'emulators/qemu-devel/files/patch-z2d-bsd-user-sson-002d')
| -rw-r--r-- | emulators/qemu-devel/files/patch-z2d-bsd-user-sson-002d | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/emulators/qemu-devel/files/patch-z2d-bsd-user-sson-002d b/emulators/qemu-devel/files/patch-z2d-bsd-user-sson-002d deleted file mode 100644 index 107d03b485a3..000000000000 --- a/emulators/qemu-devel/files/patch-z2d-bsd-user-sson-002d +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c -index 4deb0db..bde9ee9 100644 ---- a/bsd-user/syscall.c -+++ b/bsd-user/syscall.c -@@ -2377,7 +2377,7 @@ do_thr_exit(CPUArchState *cpu_env, abi_ulong tid_addr) - - if (tid_addr) { - /* Signal target userland that it can free the stack. */ -- if (! put_user_u32(1, tid_addr)) -+ if (! put_user_sal(1, tid_addr)) - _umtx_op(g2h(tid_addr), UMTX_OP_WAKE, INT_MAX, - NULL, NULL); - } -@@ -4588,10 +4588,13 @@ do_stat: - { - struct timespec ts; - -- if (target_to_host_timespec(&ts, arg1)) -- goto efault; -+ if (arg1) { -+ if (target_to_host_timespec(&ts, arg1)) -+ goto efault; -+ ret = do_thr_suspend(&ts); -+ } else -+ ret = do_thr_suspend(NULL); - -- ret = do_thr_suspend(&ts); - } - break; - |
