diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-02 00:10:43 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2012-05-03 17:31:44 +0300 |
commit | 209c48491835db84ab728f93209c00954c9e4470 (patch) | |
tree | 7114ef4a289103381284361ff421f57559053a8d /linux-user/syscall.c | |
parent | f05ae5379e40f81a6c8526d891693af8bf6e62da (diff) | |
download | hqemu-209c48491835db84ab728f93209c00954c9e4470.zip hqemu-209c48491835db84ab728f93209c00954c9e4470.tar.gz |
linux-user: Clean up interim solution for exit syscall
After all target CPUs have been QOM'ified, we no longer need an #ifdef
to switch between object_delete() and g_free() in NPTL thread exit.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7128618..801b8ed 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -5045,11 +5045,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, NULL, NULL, 0); } thread_env = NULL; -#ifdef ENV_GET_CPU object_delete(OBJECT(ENV_GET_CPU(cpu_env))); -#else - g_free(cpu_env); -#endif g_free(ts); pthread_exit(NULL); } |